Files
fedora-infra_ansible/roles/ansible-server/tasks/main.yml
Ryan Lerch 47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00

36 lines
1.1 KiB
YAML

---
#
# Setup ansible-server instance
#
- name: Install needed packages
ansible.builtin.package:
name:
- ansible-core
- git-core
- ansible-collection-ansible-posix
- ansible-collection-community-general
- ansible-collection-community-mysql
- ansible-collection-community-docker
- ansible-collection-community-libvirt
- ansible-collection-community-rabbitmq
- ansible-collection-community-postgresql
- ansible-collection-pulp-pulp_installer
tags:
- packages
- ansible-server
- name: Generate default ansible config
ansible.builtin.template: src=ansible.cfg.j2 dest=/etc/ansible/ansible.cfg owner=root group=root mode=0644
tags:
- ansible-server
- name: Installing the phx2 dns check script
ansible.builtin.copy: src=dns_check.py dest=/usr/local/bin/dns_check owner=root mode=0755
tags:
- ansible-server
- name: Install required collections
ansible.builtin.command: ansible-galaxy install -r {{ ansible_base }}/ansible/roles/ansible-server/files/requirements.yml
tags:
- ansible-server