ansible-postgresql/molecule/default/prepare.yml
2022-05-26 14:08:42 +02:00

38 lines
732 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: set timezone to Europe/Rome
timezone:
name: Europe/Rome
- name: prepare
hosts: all
become: true
tasks:
- name: prepare | install python3-pip
dnf:
name:
- python3-pip
- python3-devel
- gcc
- net-tools
- vim
- iotop
- bash-completion
- name: prepare | create ansible requirements
ansible.builtin.file:
path: /home/molecule/ansible
state: directory
owner: molecule
group: molecule
mode: '0644'