diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-01 02:12:10 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-01 02:12:10 +0100 |
commit | f246600cbb66834c1289bf52cf7bd95cc6428b02 (patch) | |
tree | 2672aa9539cad83ae3c8861ebc0571c398a397f6 /ansible/roles/nginx/update_nginx.yml | |
parent | 97f55e590c58a3f252497df23bcec97c9352ff06 (diff) |
Working debian packer template w/ ansible to set up fw rules after reboot
Diffstat (limited to 'ansible/roles/nginx/update_nginx.yml')
-rw-r--r-- | ansible/roles/nginx/update_nginx.yml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ansible/roles/nginx/update_nginx.yml b/ansible/roles/nginx/update_nginx.yml deleted file mode 100644 index 4813e6c..0000000 --- a/ansible/roles/nginx/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 -... |