mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-02 15:53:06 +02:00
bitwarden
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
- hosts: odroid_cluster
|
||||
name: Check for reboot
|
||||
become: true
|
||||
gather_facts: no
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Check if file exists using stat module
|
||||
stat:
|
||||
@ -13,7 +13,7 @@
|
||||
var: file_status.stat.exists
|
||||
- name: Reboot the server
|
||||
tags: reboot
|
||||
become: yes
|
||||
become: true
|
||||
become_user: root
|
||||
shell: "sleep 5 && reboot"
|
||||
async: 1
|
||||
|
Reference in New Issue
Block a user