aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/update_adjutor.yml12
-rw-r--r--ansible/update_nginx.yml25
2 files changed, 0 insertions, 37 deletions
diff --git a/ansible/update_adjutor.yml b/ansible/update_adjutor.yml
deleted file mode 100644
index 2724a30..0000000
--- a/ansible/update_adjutor.yml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-- name: Update the server
- hosts: vps
- become: true
- tasks:
-
- - name: Update and upgrade apt packages
- ansible.builtin.apt:
- update_cache: true
- upgrade: true
- autoremove: true
-...
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
-...