Parcourir la source

Rolle reboot: Syntax-Error bezüglich Anführungszeichen behoben

erdo il y a 7 ans
Parent
commit
e7ae802e76
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      roles/reboot/tasks/main.yml

+ 1 - 1
roles/reboot/tasks/main.yml

@@ -1,6 +1,6 @@
 ---
 - name: get uptime in min
-  shell: "awk '{printf "%0.f", $0/60}' /proc/uptime"
+  shell: awk '{printf "%0.f", $0/60}' /proc/uptime
   register: uptime
   
 - name: Reboot server