Setup apt-cacher-ng container

This commit is contained in:
Stefan Haun 2020-12-12 17:03:46 +01:00
parent 44368caa6d
commit 347df8c176

View file

@ -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 }}"