This repository has been archived on 2021-08-22. You can view files and clone it, but cannot push or open issues or pull requests.
aconcagua-ansible/upgrade.yml

22 lines
527 B
YAML
Raw Normal View History

2021-07-19 19:00:08 +02:00
---
- name: Upgrade hosts
hosts: all
become: yes
tasks:
- name: Full system upgrade
pacman:
update_cache: yes
upgrade: yes
2021-07-19 19:00:55 +02:00
2021-07-19 19:00:08 +02:00
- name: Upgrade Dockers
hosts: all
tasks:
- name: Docker upgrade Photoview
ansible.builtin.shell:
chdir: ~/Docker/photoview-docker
2021-07-20 08:11:23 +02:00
cmd: docker-compose pull && docker-compose up -d
2021-07-19 19:00:08 +02:00
- name: Docker upgrade Vaultwarden
ansible.builtin.shell:
chdir: ~/Docker/vaultwarden
2021-07-20 08:11:23 +02:00
cmd: docker-compose pull && docker-compose up -d