Explorar el Código

Update main.yml

Issue #212: Issue in setting hostname using mapping file
Shubhangi-dell hace 4 años
padre
commit
b44ee39633
Se han modificado 1 ficheros con 1 adiciones y 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: