Explorar el Código

add restart kodi playbook

Blaine Story hace 5 meses
padre
commit
217bd8e104
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  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: