It is ok when using no_log: yes option in the playbook
Le mardi 15 novembre 2016 16:22:47 UTC+1, fanvalt a écrit :
>
> Hello,
>
> I did write the user/password to use for the get_url command in a file
> encrypt with vault this way:
> urlname: user1
> urlpass: pass1
>
> in my playbook I use these variables:
> get_url:
> url: "https:...."
> url_username: "{{ urlname }}"
> url_password: "{{ urlpass }}"
>
> If I run in verbose the playbook this way, the user/password are displayed
> in clear mode:
> ansible-playbook -vvvvv -i host.ini test.yml -l connect --ask-vault-pass
> ....
> ok: [localhost] => {"changed": false, "checksum_dest":
> "7c2f282bfb7078a26ac228c0cb44dcd36a54c475", "checksum_src":
> "7c2f282bfb7078a26ac228c0cb44dcd36a54c475", "dest": "/ftest/file.zip",
> "gid": 1001, "group": "ftest", "invocation": {"module_args": {"backup":
> false, "checksum": "", "content": null, "delimiter": null, "dest":
> "/ftest", "directory_mode": null, "follow": false, "force": false,
> "force_basic_auth": false, "group": null, "headers": null, "http_agent":
> "ansible-httpget", "mode": 438, "owner": null, "path": "/ftest/file.zip",
> "regexp": null, "remote_src": null, "selevel": null, "serole": null,
> "setype": null, "seuser": null, "sha256sum": "", "src": null, "timeout":
> 180, "tmp_dest": "", "url": "https://www.test.com/file.zip", "url_password":
> "pass1", "url_username": "user1", "use_proxy": true, "validate_certs":
> true}, "module_name": "get_url"}, "md5sum": "d
>
> Is there a way to crypt these values in verbose mode ?
>
> Regards
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/2e6bc52c-4df9-4f77-9839-9fd5aa46aa3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.