23 lines
544 B
YAML
23 lines
544 B
YAML
|
---
|
||
|
- name: Upgrade hosts
|
||
|
hosts: all
|
||
|
become: yes
|
||
|
|
||
|
tasks:
|
||
|
- name: Full system upgrade
|
||
|
pacman:
|
||
|
update_cache: yes
|
||
|
upgrade: yes
|
||
|
- name: Upgrade Dockers
|
||
|
hosts: all
|
||
|
|
||
|
tasks:
|
||
|
- name: Docker upgrade Photoview
|
||
|
ansible.builtin.shell:
|
||
|
chdir: ~/Docker/photoview-docker
|
||
|
cmd: docker-compose build --pull && docker-compose up -d
|
||
|
- name: Docker upgrade Vaultwarden
|
||
|
ansible.builtin.shell:
|
||
|
chdir: ~/Docker/vaultwarden
|
||
|
cmd: docker-compose build --pull && docker-compose up -d
|