Commit c545c488 authored by ∞'s avatar 💻

Pre-install jsondiff

parent f0271a92
......@@ -4,18 +4,20 @@
include_role: name=yourlabs.docker
when: ansible_facts['ansible_local']['yourlabs_docker']['state']|default('') != 'success'
- name: Initialize a docker swarm so that compose can be deployed as stacks
shell: docker swarm init
when: stack|default(false)
failed_when: false
- name: We need docker-compose on localhost because we'll use the config command
delegate_to: localhost
pip:
name: docker-compose
name:
- docker-compose
- jsondiff
state: latest
executable: pip3
- name: Initialize a docker swarm so that compose can be deployed as stacks
shell: docker swarm init
when: stack|default(false)
failed_when: false
- name: Make home directory
when: home is defined
file:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment