Browse Source

change reboot on storage change var name

Blaine Story 2 years ago
parent
commit
c3b299a4e5
1 changed files with 3 additions and 3 deletions
  1. 3 3
      plays/nas-storage.yml

+ 3 - 3
plays/nas-storage.yml

@@ -14,8 +14,8 @@
     - "{{ inventory_dir }}/vars/vault.yaml"
 
   vars:
-    # allow playbook to auto reboot server when changes are made to mountpoints
-    SKIP_REBOOT: False
+    # don't allow playbook to auto reboot server when changes are made to mountpoints
+    ALLOW_REBOOT_ON_STORAGE_CHANGE: False
 
     samba_guest_account: "{{ vaulted_media_user }}"
     samba_map_to_guest: bad user
@@ -190,4 +190,4 @@
       reboot:
         post_reboot_delay: 120 # wait 2 minutes for disks to fully decrypt and mount themselves
       when:
-        - SKIP_REBOOT == False
+        - ALLOW_REBOOT_ON_STORAGE_CHANGE == True