Refactor service deployment + upload Compose files to the server #178
|
@ -17,16 +17,6 @@
|
||||||
name: docker-ce
|
name: docker-ce
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: install docker python bindings
|
|
||||||
pip:
|
|
||||||
executable: pip3
|
|
||||||
name: "{{ packages }}"
|
|
||||||
state: present
|
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- docker
|
|
||||||
- docker-compose
|
|
||||||
|
|
||||||
- name: Configure cron job to prune unused Docker data weekly
|
- name: Configure cron job to prune unused Docker data weekly
|
||||||
cron:
|
cron:
|
||||||
name: Prune unused Docker data
|
name: Prune unused Docker data
|
||||||
|
|
Loading…
Reference in a new issue