소스 검색

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: