diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-08-30 13:09:56 -0600 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-08-30 13:09:56 -0600 |
| commit | 649f0dd9c5ca586d8b637400dd19c0c4059447d6 (patch) | |
| tree | 5ccc992a3aa5de1bcb510911dfdb21e6a54bd197 /salt/openbook/ansible/files/docker_compose.yaml | |
initial commit
Diffstat (limited to 'salt/openbook/ansible/files/docker_compose.yaml')
| -rw-r--r-- | salt/openbook/ansible/files/docker_compose.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/salt/openbook/ansible/files/docker_compose.yaml b/salt/openbook/ansible/files/docker_compose.yaml new file mode 100644 index 0000000..8333a4b --- /dev/null +++ b/salt/openbook/ansible/files/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" |
