Setup apt-cacher-ng container
This commit is contained in:
parent
44368caa6d
commit
347df8c176
1 changed files with 11 additions and 0 deletions
11
pottwal.yml
11
pottwal.yml
|
@ -17,6 +17,17 @@
|
||||||
- role: apache
|
- role: apache
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Ensure apt-cacher container is running
|
||||||
|
docker_container:
|
||||||
|
name: apt_cacher_ng
|
||||||
|
image: "mrtux/apt-cacher-ng"
|
||||||
|
pull: true
|
||||||
|
state: started
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
detach: yes
|
||||||
|
ports:
|
||||||
|
- 3142:3142
|
||||||
|
|
||||||
- name: Ensure the openhab directories exist
|
- name: Ensure the openhab directories exist
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
|
Loading…
Reference in a new issue