Browse Source

Update main.yml

Issue #212: Issue in setting hostname using mapping file
Shubhangi-dell 4 years ago
parent
commit
b44ee39633
1 changed files with 1 additions and 1 deletions
  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: