diff --git a/inventories/hetzner/host_vars/cit-ansible-test.yaml b/inventories/hetzner/host_vars/cit-ansible-test.yaml new file mode 100644 index 0000000..0725752 --- /dev/null +++ b/inventories/hetzner/host_vars/cit-ansible-test.yaml @@ -0,0 +1 @@ +docker_compose__projects: [ ] diff --git a/inventories/hetzner/host_vars/cit-docker-host.yaml b/inventories/hetzner/host_vars/cit-docker-host.yaml new file mode 100644 index 0000000..0725752 --- /dev/null +++ b/inventories/hetzner/host_vars/cit-docker-host.yaml @@ -0,0 +1 @@ +docker_compose__projects: [ ] diff --git a/inventories/hetzner/hosts.yaml b/inventories/hetzner/hosts.yaml index 8c29d51..894434e 100644 --- a/inventories/hetzner/hosts.yaml +++ b/inventories/hetzner/hosts.yaml @@ -19,3 +19,7 @@ all: hosts: cit-ansible-test: cit-docker-host: + Docker_Compose_Hosts: + hosts: + cit-ansible-test: + cit-docker-host: diff --git a/playbooks/everything.yaml b/playbooks/everything.yaml index bcdfe1a..99f4ef1 100644 --- a/playbooks/everything.yaml +++ b/playbooks/everything.yaml @@ -5,3 +5,8 @@ hosts: Docker_Hosts roles: - docker + +- name: Ensure deployment of Docker Compose applications + hosts: Docker_Compose_Hosts + roles: + - docker_compose