traefik works
This commit is contained in:
parent
46dd504b43
commit
b21fc40a38
3 changed files with 12 additions and 7 deletions
2
max.yml
2
max.yml
|
@ -21,5 +21,5 @@
|
|||
setup:
|
||||
|
||||
roles:
|
||||
- {role: 'common', tags: 'common'}
|
||||
- {role: 'docker', tags: 'docker'}
|
||||
- {role: 'traefik', tags: 'traefik'}
|
||||
|
|
|
@ -9,3 +9,9 @@
|
|||
file:
|
||||
path: "{{ base_service_dir }}"
|
||||
state: directory
|
||||
- name: Delete externally managed environment file
|
||||
shell:
|
||||
cmd: "rm /usr/lib/python*/EXTERNALLY-MANAGED"
|
||||
register: rm
|
||||
changed_when: "rm.rc == 0"
|
||||
failed_when: "false"
|
||||
|
|
|
@ -25,12 +25,11 @@
|
|||
- docker-ce-cli
|
||||
- containerd.io
|
||||
- docker-compose-plugin
|
||||
# Do we need this? pip doesn't like it
|
||||
# - name: Install Docker modules for Python
|
||||
# pip:
|
||||
# name:
|
||||
# - docker
|
||||
# - docker-compose
|
||||
- name: Install Docker modules for Python
|
||||
pip:
|
||||
name:
|
||||
- docker
|
||||
- docker-compose
|
||||
- name: Copy daemon.json
|
||||
copy:
|
||||
src: "{{ role_path }}/files/daemon.json"
|
||||
|
|
Reference in a new issue