Posted On: Feb 22, 2018
If you want to keep secret data in your ansible content and still share it publicly, then you can use Vault in playbooks. If you’re using –v (verbose) mode, and don’t want to show the results, then following command can be used:
name: secret task
shell: /usr/bin/do_something --value={{ secret_value }}
no_log: True
This can be used to hide sensitive data from others.
Never Miss an Articles from us.
Ansible is an open source automation platform which can help you with configuration management, task automation and appl..
Ansible works on ‘agentless architecture’. It works by connecting to your nodes and pushes out Ansible modules to th..
Unlike other configuration management system, Ansible is the most sought after software applications these days. it off..