Files
kayobe/ansible/roles/manage-containers/tasks/deploy.yml
Pierre Riteau 816d6ffde2 Configure ansible-lint and fix issues found
Copy ansible-lint configuration from kolla-ansible as a starting point.
Also replace alint tox job by ansible-lint.

Fix various issues found by ansible-lint to make it pass with the
current set of rules.

Change-Id: I1d6173caadbcf249330512e170af8095464f1237
2025-05-27 22:08:39 +02:00

18 lines
543 B
YAML

---
- name: Login to container registry
kayobe_container_login:
registry_url: "{{ kolla_docker_registry or omit }}"
username: "{{ kolla_docker_registry_username }}"
password: "{{ kolla_docker_registry_password }}"
reauthorize: yes
when:
- deploy_containers_registry_attempt_login | bool
become: "{{ container_engine == 'podman' }}"
- name: Deploy containers (loop)
include_tasks: deploy.yml
vars:
container_name: "{{ item.key }}"
container_config: "{{ item.value }}"
with_dict: "{{ seed_containers }}"