Moving setup into its own role, where we just set up the system configuuration for running k3s'

This commit is contained in:
2024-02-11 15:10:38 -08:00
parent 35505f90f3
commit afd64caebd
35 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
- name: Cleanup old containers
become: yes
become_method: sudo
listen: cleanup-docker
command: docker images | grep none | awk '{print $3}' | xargs docker rmi

View File

@@ -0,0 +1,6 @@
- name: Restart Nginx
listen: restart-nginx
service:
name: nginx
state: restarted