Prechádzať zdrojové kódy

add restart kodi playbook

Blaine Story 5 mesiacov pred
rodič
commit
217bd8e104
1 zmenil súbory, kde vykonal 13 pridanie a 0 odobranie
  1. 13 0
      plays/restart-kodi.yml

+ 13 - 0
plays/restart-kodi.yml

@@ -0,0 +1,13 @@
+---
+- hosts: all
+  gather_facts: false
+  become: true
+  
+  tasks:
+  - name: "Rebooting {{ inventory_hostname }}..."
+    ansible.builtin.debug:
+      msg: "Rebooting now..."
+
+
+  - name: "Reboot {{ inventory_hostname }}"
+    ansible.builtin.reboot: