Skip to content

Commit

Permalink
fix: Conditional for docker compose and sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Sierociński committed Mar 30, 2020
1 parent 7ef7387 commit 99899b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@
name: docker
version: "{{ docker_sdk_version }}"
state: present
when: docker_sdk_version
when: "not (docker_sdk_version is false)"

- name: Install Docker Compose
pip:
name: docker-compose
version: "{{ docker_compose_version }}"
state: present
when: docker_compose_version
when: "not (docker_compose_version is false)"

- name: Add user to docker group
user:
Expand Down

0 comments on commit 99899b0

Please sign in to comment.