From e14b3cea8f97f64bfb0dc54af4b712a663769e18 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Thu, 29 Aug 2019 07:32:57 +0000 Subject: [PATCH] Add docker-compose to docker role --- ansible/roles/docker/tasks/docker-compose.yml | 6 ++++++ ansible/roles/docker/tasks/main.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 ansible/roles/docker/tasks/docker-compose.yml diff --git a/ansible/roles/docker/tasks/docker-compose.yml b/ansible/roles/docker/tasks/docker-compose.yml new file mode 100644 index 0000000..6ea8e17 --- /dev/null +++ b/ansible/roles/docker/tasks/docker-compose.yml @@ -0,0 +1,6 @@ +- name: Install docker-compose + get_url: + url: https://github.com/docker/compose/releases/download/1.24.1/docker-compose-Linux-x86_64 + dest: "/usr/local/bin/docker-compose" + mode: 0755 + diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml index 8fe3213..c585f48 100644 --- a/ansible/roles/docker/tasks/main.yml +++ b/ansible/roles/docker/tasks/main.yml @@ -1,4 +1,4 @@ --- - import_tasks: docker-install.yml +- import_tasks: docker-compose.yml - import_tasks: users.yml -