Files
fedora-infra_ansible/roles/ansible-server/tasks/main.yml
Ryan Lerch 462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

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

36 lines
1.0 KiB
YAML

---
#
# Setup ansible-server instance
#
- name: Install needed packages
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
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