From f18e9b4ebce97e220f3197d35608366f66896064 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Fri, 31 Jan 2025 16:58:56 +0100 Subject: Moving ansible stuff to homelab-iac repo. Also adding patch flag to git add to interactively choose what to commit. --- ansible/update_nginx.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 ansible/update_nginx.yml (limited to 'ansible/update_nginx.yml') diff --git a/ansible/update_nginx.yml b/ansible/update_nginx.yml deleted file mode 100644 index 4813e6c..0000000 --- a/ansible/update_nginx.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Update nginx if needed - hosts: vps - become: true - become_user: root - tasks: - - - name: Ensure nginx is at the latest version - ansible.builtin.package: - name: nginx - state: latest - notify: restart nginx - - - name: Ensure nginx is running - ansible.builtin.service: - name: nginx - state: started - enabled: true - - handlers: - - name: Restart nginx - ansible.builtin.service: - name: nginx - state: restarted -... -- cgit v1.2.3