breakout debcache to seprate role as vpses will not use it
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
vars:
|
||||
|
||||
tasks:
|
||||
- name: set-debcache.yml - Setup apt proxy debcache
|
||||
include: ../../lib/set-debcache.yml
|
||||
|
||||
- name: Upgrade-packages.yml - update packages
|
||||
include: ../../lib/upgrade-packages.yml
|
||||
|
||||
@@ -91,26 +94,7 @@
|
||||
owner: promgraf
|
||||
group: docker
|
||||
mode: u=rw,g=r,o=r
|
||||
|
||||
#- name: Start services
|
||||
# community.docker.docker_compose_v2:
|
||||
# project_src: /home/docker/
|
||||
# register: output
|
||||
|
||||
# - name: Check if docker config directory exists
|
||||
# stat:
|
||||
# path: /home/promgraf/docker/qbittorrent
|
||||
# register: promgraf_stat
|
||||
|
||||
# - name: Restore docker config Dir
|
||||
# shell: |
|
||||
# restic --password-file /home/restic/.resticpassword -r sftp:misamisa://home/restic/$(hostname) --target / restore latest
|
||||
# args:
|
||||
# chdir: /home/promgraf/
|
||||
# creates: /home/promgraf/qbitorrent
|
||||
# when: not promgraf_stat.stat.exists or not promgraf_stat.stat.isdir
|
||||
|
||||
|
||||
|
||||
- name: Reload systemd daemon
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
|
||||
Reference in New Issue
Block a user