moved restarting into separate role
diff --git a/tasks/main.yml b/tasks/main.yml
index 33f5172..947fe8a 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -16,23 +16,23 @@
- name: Restart node
debug:
- msg: 'SELinux MUST be disabled, selinux has been updated, restarting node now...'
+ msg: 'SELinux MUST be disabled, selinux has been updated, please restart node now...'
when: not selinux_disabled
-- name: Restarting node now
- ignore_errors: yes
- become: yes
- shell: 'reboot now'
- when: not selinux_disabled
- async: 0
- poll: 0
-
-- name: Waiting for server to complete restarting
- become: no
- local_action: wait_for host='{{ ansible_host }}' state=started delay={{ start_check_delay | d(5) }} timeout='{{ server_restart_timeout | d(30) }}'
- when: not selinux_disabled
-
-- name: Server usually needs a little more time ...
- become: no
- local_action: wait_for host='{{ ansible_host }}' state=started delay={{ start_check_delay | d(5) }}
- when: not selinux_disabled
+#- name: Restarting node now
+# ignore_errors: yes
+# become: yes
+# shell: 'reboot now'
+# when: not selinux_disabled
+# async: 0
+# poll: 0
+#
+#- name: Waiting for server to complete restarting
+# become: no
+# local_action: wait_for host='{{ ansible_host }}' state=started delay={{ start_check_delay | d(5) }} timeout='{{ server_restart_timeout | d(30) }}'
+# when: not selinux_disabled
+#
+#- name: Server usually needs a little more time ...
+# become: no
+# local_action: wait_for host='{{ ansible_host }}' state=started delay={{ start_check_delay | d(5) }}
+# when: not selinux_disabled