ansible-postgresql/molecule/default/prepare.yml
2022-05-24 18:51:03 +02:00

30 lines
579 B
YAML

- name: Connection Wait
hosts: all
become: true
gather_facts: no
tasks:
- name: Wait 60 seconds, but only start checking after 15 seconds
wait_for_connection:
delay: 15
timeout: 60
- name: prepare
hosts: all
become: true
tasks:
- name: prepare | install python3-pip
dnf:
name:
- python3-pip
- python3-devel
- gcc
- name: prepare | create ansible requirements
ansible.builtin.file:
path: /home/molecule/ansible
state: directory
owner: molecule
group: molecule
mode: '0644'