Browse Source

add restart kodi playbook

Blaine Story 5 tháng trước cách đây
mục cha
commit
217bd8e104
1 tập tin đã thay đổi với 13 bổ sung0 xóa
  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: