Add playbooks to role os-linux-prep-default

This commit is contained in:
2024-09-21 22:58:54 +03:00
parent 8b85b73396
commit 36aa9106ea
34 changed files with 499 additions and 14 deletions

View File

@ -0,0 +1,11 @@
---
- name: Update config grub on Debian like
shell: "update-grub"
when: ansible_os_family == "Debian"
- name: Reboot the server from shell
shell: 'shutdown -r now "Reboot the server by Ansible"'
# ignore_errors: true
async: 30
poll: 0