Explorar o código

Update main.yml

Issue #212: Issue in setting hostname using mapping file
Shubhangi-dell %!s(int64=4) %!d(string=hai) anos
pai
achega
b44ee39633
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      appliance/roles/inventory/tasks/main.yml

+ 1 - 1
appliance/roles/inventory/tasks/main.yml

@@ -56,7 +56,7 @@
       command: >-
         ansible-vault encrypt {{ input_config_filename }}
         --vault-password-file {{ vault_filename }}
-      when: "'$ANSIBLE_VAULT;' not in config_content.stdout"
+      changed_when: false
 
     - name: Check if inventory file already exists
       stat: