Tweak ansible wireguard playbook, add basic software update playbook
This commit is contained in:
parent
e8010448f8
commit
37392a256e
16
ansible/playbooks/update-software.yml
Normal file
16
ansible/playbooks/update-software.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
become: yes
|
||||||
|
tasks:
|
||||||
|
- name: Refresh package list
|
||||||
|
apt:
|
||||||
|
cache_valid_time: 3600
|
||||||
|
- name: Update installed packages
|
||||||
|
apt:
|
||||||
|
upgrade: dist
|
||||||
|
- name: Update restic
|
||||||
|
command: restic self-update
|
||||||
|
- name: /usr/bin/rclone rclone
|
||||||
|
shell: curl https://rclone.org/install.sh | bash
|
||||||
|
- name: Update FileBrowser
|
||||||
|
shell: curl -fsSL https://filebrowser.org/get.sh | bash
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- hosts: controller
|
- hosts: all
|
||||||
become: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- wireguard
|
- wireguard
|
||||||
|
|
Loading…
Reference in a new issue