summaryrefslogtreecommitdiff
path: root/ansible/roles/srv01/tasks/reboot.yaml
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-07-12 17:41:30 +0300
committerheqnx <root@heqnx.com>2025-07-12 17:41:30 +0300
commit62acc6423bfead7cee08352dfc92e154eabbb4aa (patch)
treea435a4f996ea7ba28f5bec57baab655aaf114553 /ansible/roles/srv01/tasks/reboot.yaml
parent6e559dd880cf72b23c98d63e53982e4f359747f4 (diff)
downloadansible-active-directory-range-62acc6423bfead7cee08352dfc92e154eabbb4aa.tar.gz
ansible-active-directory-range-62acc6423bfead7cee08352dfc92e154eabbb4aa.zip
fixed linux domain join
Diffstat (limited to 'ansible/roles/srv01/tasks/reboot.yaml')
-rw-r--r--ansible/roles/srv01/tasks/reboot.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/ansible/roles/srv01/tasks/reboot.yaml b/ansible/roles/srv01/tasks/reboot.yaml
index f521bdc..d36ed0d 100644
--- a/ansible/roles/srv01/tasks/reboot.yaml
+++ b/ansible/roles/srv01/tasks/reboot.yaml
@@ -1,5 +1,3 @@
-- name: "reboot"
- command: "shutdown -r now &"
- async: 1
- poll: 0
- ignore_errors: true
+- name: reboot
+ ansible.builtin.reboot:
+ reboot_timeout: 3600