mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Replaces many references to command: with ansible.builtin.command Signed-off-by: Ryan Lerch <rlerch@redhat.com>
36 lines
1.0 KiB
YAML
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
|