浏览代码

change reboot on storage change var name

Blaine Story 2 年之前
父节点
当前提交
c3b299a4e5
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      plays/nas-storage.yml

+ 3 - 3
plays/nas-storage.yml

@@ -14,8 +14,8 @@
     - "{{ inventory_dir }}/vars/vault.yaml"
     - "{{ inventory_dir }}/vars/vault.yaml"
 
 
   vars:
   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_guest_account: "{{ vaulted_media_user }}"
     samba_map_to_guest: bad user
     samba_map_to_guest: bad user
@@ -190,4 +190,4 @@
       reboot:
       reboot:
         post_reboot_delay: 120 # wait 2 minutes for disks to fully decrypt and mount themselves
         post_reboot_delay: 120 # wait 2 minutes for disks to fully decrypt and mount themselves
       when:
       when:
-        - SKIP_REBOOT == False
+        - ALLOW_REBOOT_ON_STORAGE_CHANGE == True