浏览代码

add restart kodi playbook

Blaine Story 5 月之前
父节点
当前提交
217bd8e104
共有 1 个文件被更改,包括 13 次插入0 次删除
  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: