ansible/roles/certbot/molecule/default/create.yml
Julien Riou 3b4fd2a990
Some checks failed
/ ansible-docsmith (push) Failing after 19s
/ molecule (certbot) (push) Failing after 28s
/ molecule (galene) (push) Failing after 18s
/ molecule (golang) (push) Failing after 32s
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2026-02-17 09:32:24 +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'] }}"