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

23 lines
544 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
- 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