Tweak ansible wireguard playbook, add basic software update playbook

This commit is contained in:
KemoNine 2020-08-04 19:14:20 +00:00
parent e8010448f8
commit 37392a256e
2 changed files with 17 additions and 1 deletions

View 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

View file

@ -1,5 +1,5 @@
--- ---
- hosts: controller - hosts: all
become: yes become: yes
roles: roles:
- wireguard - wireguard