I have one Ansible-Playbook. But in this playbook, I have to use a username and password. For security reasons, I want to import a password from another file. How can I do that in Ansible?
You can use vars_files keyword in Ansible. This is used to import multiple files in Ansible Playbook as shown below.
- hosts: localhost
Now you can use the data of this file in your playbook.
Add both your static and dynamic inventories ...READ MORE
Hey @Nishant, you can use the copy ...READ MORE
Have a look at this, it might ...READ MORE
Variable in playbooks are very similar to using variables in ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
You need to use the copy module ...READ MORE
You can find one argument in the ...READ MORE
Already have an account? Sign in.