ansible/roles/certbot/molecule/default/create.yml
Julien Riou 1c513981ac
All checks were successful
/ ansible-docsmith (push) Successful in 19s
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2026-03-23 10:48:41 +01:00

18 lines
509 B
YAML

---
- name: Create containers
hosts: localhost
gather_facts: false
tasks:
- name: Create containers
containers.podman.podman_container:
hostname: "{{ item }}"
name: "{{ item }}"
image: "{{ hostvars[item]['container_image'] }}"
state: started
loop: "{{ groups['molecule'] }}"
- name: Wait for containers to be ready
ansible.builtin.wait_for_connection:
timeout: 300
delegate_to: "{{ item }}"
loop: "{{ groups['molecule'] }}"