diff --git a/roles/tasks/debian/restart_services.yml b/roles/tasks/debian/restart_services.yml new file mode 100644 index 0000000..1315f38 --- /dev/null +++ b/roles/tasks/debian/restart_services.yml @@ -0,0 +1,8 @@ +--- +- hosts: + - debian + # Runs on root user already + become: false + tasks: + - name: Restart all services + command: bash /root/scripts/start_services.sh diff --git a/roles/tasks/debian/update.yml b/roles/tasks/debian/update.yml index 4223aad..2fe30f2 100644 --- a/roles/tasks/debian/update.yml +++ b/roles/tasks/debian/update.yml @@ -9,6 +9,5 @@ update_cache: true autoremove: true state: latest - when: ansible_distribution in ["Debian"] - name: Update ACME command: /root/.acme.sh/acme.sh --upgrade --auto-upgrade