diff options
Diffstat (limited to 'playbooks/docker_compose.yaml')
| -rw-r--r-- | playbooks/docker_compose.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/playbooks/docker_compose.yaml b/playbooks/docker_compose.yaml new file mode 100644 index 0000000..8333a4b --- /dev/null +++ b/playbooks/docker_compose.yaml @@ -0,0 +1,22 @@ +--- +- name: "Install docker-compose" + hosts: target + tasks: + - name: "Install packages" + apt: + pkg: "{{ item }}" + state: present + with_items: + - docker-compose + - apache2-utils + when: ansible_distribution == "Ubuntu" + + - name: "Install packsges" + portage: + package: "{{ item }}" + update: yes + changed_use: yes + with_items: + - app-emulation/docker-compose + - app-admin/apache-tools + when: ansible_distribution == "Gentoo" |
