Commit 9fb388dd authored by kaiyou's avatar kaiyou
Browse files

Remove the update part from the wireguard role

parent 19d26f9e
---
- name: Update apt packages
apt:
cache_valid_time: 3600
update_cache: yes
- name: Update and upgrade apt packages
apt:
upgrade: full
force_apt_get: yes
- name: Remove useless packages from the cache
apt:
autoclean: yes
- name: Remove dependencies that are no longer required
apt:
autoremove: yes
--- ---
- name: Setup Debian unstable repository for wireguard - name: Setup Debian unstable repository for wireguard
apt_repository: apt_repository:
repo: deb http://deb.debian.org/debian/ unstable main repo: deb http://deb.debian.org/debian/ unstable main
...@@ -10,24 +9,6 @@ ...@@ -10,24 +9,6 @@
src: apt_preferences.j2 src: apt_preferences.j2
dest: /etc/apt/preferences.d/limit-unstable dest: /etc/apt/preferences.d/limit-unstable
- name: Update apt packages
apt:
cache_valid_time: 3600
update_cache: yes
- name: Update and upgrade apt packages
apt:
upgrade: full
force_apt_get: yes
- name: Remove useless packages from the cache
apt:
autoclean: yes
- name: Remove dependencies that are no longer required
apt:
autoremove: yes
- name: Install wireguard - name: Install wireguard
apt: apt:
pkg: pkg:
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
- hosts: cluster - hosts: cluster
gather_facts: yes gather_facts: yes
roles: roles:
- { role: base }
- { role: wesher } - { role: wesher }
- { role: k3s } - { role: k3s }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment