batcave02: no ansible-collection-community-docker right now, so exclude it on rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
a195bce0b3
commit
a9bb7f2254
1 changed files with 16 additions and 0 deletions
|
@ -16,6 +16,22 @@
|
|||
tags:
|
||||
- packages
|
||||
- ansible-server
|
||||
when: inventory_hostname.startswith('batcave01')
|
||||
|
||||
- name: install needed packages (rhel9)
|
||||
package:
|
||||
name:
|
||||
- ansible-core
|
||||
- git-core
|
||||
- ansible-collection-ansible-posix
|
||||
- ansible-collection-community-general
|
||||
- ansible-collection-community-mysql
|
||||
- ansible-collection-community-libvirt
|
||||
- ansible-collection-community-rabbitmq
|
||||
tags:
|
||||
- packages
|
||||
- ansible-server
|
||||
when: inventory_hostname.startswith('batcave02')
|
||||
|
||||
- name: generate default ansible config
|
||||
template: src=ansible.cfg.j2 dest=/etc/ansible/ansible.cfg owner=root group=root mode=0644
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue