Also introduce a new group for hosts, for which this play should be run, called Docker_Compose_Hosts. Finally add cit-ansible-test and cit-docker-host to this group with an empty project list initially.
13 lines
287 B
YAML
13 lines
287 B
YAML
- name: Run maintenance playbook
|
|
ansible.builtin.import_playbook: maintenance.yaml
|
|
|
|
- name: Ensure Docker for Docker_Hosts
|
|
hosts: Docker_Hosts
|
|
roles:
|
|
- docker
|
|
|
|
- name: Ensure deployment of Docker Compose applications
|
|
hosts: Docker_Compose_Hosts
|
|
roles:
|
|
- docker_compose
|