Update ansible/roles/base/tasks/main.yml, ansible/roles/base/tasks/ssh.yml, ansible/roles/update/tasks/main.yml
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
state: stopped
|
state: stopped
|
||||||
enabled: false
|
enabled: false
|
||||||
with_items: "{{ unnecessary_services }}"
|
with_items: "{{ unnecessary_services }}"
|
||||||
ignore_errors: "{{ ansible_check_mode }}"
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Set a message of the day
|
- name: Set a message of the day
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|||||||
@@ -47,4 +47,4 @@
|
|||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
state: restarted
|
state: restarted
|
||||||
enabled: true
|
enabled: true
|
||||||
ignore_errors: "{{ ansible_check_mode }}"
|
ignore_errors: true
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
- name: Reboot the server if required
|
- name: Reboot the server if required
|
||||||
ansible.builtin.shell: sleep 3; reboot
|
ansible.builtin.shell: sleep 3; reboot
|
||||||
ignore_errors: "{{ ansible_check_mode }}"
|
ignore_errors: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
async: 1
|
async: 1
|
||||||
poll: 0
|
poll: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user