ansible/roles/golang/molecule/default/create.yml
Julien Riou 36f1f01120
All checks were successful
/ ansible-docsmith (push) Successful in 21s
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2026-03-23 10:37:28 +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'] }}"