questions/devops-and-agile/ansible
Hi@akhtar, You can use the option --list-hosts. It will ...READ MORE
Hey @Nishant, you can use the copy ...READ MORE
Hi@akhtar, You are getting this error because when ...READ MORE
Hi@akhtar, You can update your file using lineinfile ...READ MORE
Installing git using ansible is pretty simple. ...READ MORE
Hi, Roles: Roles containing certain vars_files, tasks, and handlers ...READ MORE
Hi@akhtar, Ansible has a very attractive command named ...READ MORE
I hadn't created the ssh connection between ...READ MORE
Hey @Sitara, I just found it is because ...READ MORE
Use an indexed hostname, and then define ...READ MORE
Hi@akhtar, You can use the command module to ...READ MORE
Hi@akhtar, As you are using a vault in ...READ MORE
Hi@akhtar, You can use gather_facts: no keyword in your playbook. ...READ MORE
actually this related python pckage in order ...READ MORE
Hi@akhtar, You may get this error if the ...READ MORE
Usually, if even one command fails to ...READ MORE
Hey @Celia, one recommendation, try not using ...READ MORE
Hey, @Nishit seems like you've made a ...READ MORE
Hey @Cerci, Of course its possible. You ...READ MORE
Hey @Neha, add the following line to ...READ MORE
ansible-playbook test.yml --extra-vars "arg1=${var1} arg2=${var2}" Use is like ...READ MORE
Hi@akhtar, You need to pass the username and ...READ MORE
Here is concept which you can follow. blockinfile is ...READ MORE
Hey Loki, Looks like your python library ...READ MORE
Hi@akhtar, Ansible registers module used to capture/store the ...READ MORE
Hi@akhtar, There is a problem with your key. ...READ MORE
By default, the editor used by the ...READ MORE
Hi@akhtar, You need to install pywinrm module in ...READ MORE
That means you do not have the ...READ MORE
Hi@akhtar, Ansible is not part of your RedHat ...READ MORE
Write your playbook like this: --- - hosts: droplets ...READ MORE
Hi@akhtar, You can perform iterate tasks in Ansible ...READ MORE
You need an Ansible box for this, ...READ MORE
I had faced a similar issue. In ...READ MORE
Hi@akhtar, You can find one argument in the ...READ MORE
Hi @Nisha, use the stat module provided ...READ MORE
Hi@akhtar, I think your file does not have ...READ MORE
Use some other variable instead of PATH. READ MORE
Hi@akhtar, Ansible has lots of commands, that help ...READ MORE
Hi@akhtar, Ansible needs extra software to run commands ...READ MORE
Hi@akhtar, You need to add one tag in ...READ MORE
Hi@akhtar, You need to use the hash to ...READ MORE
Hey @Asha, Try to run it as user ...READ MORE
Hi@akhtar, By default, Ansible is not part of ...READ MORE
The best way to do this is: copy ...READ MORE
You can set a ProxyCommand in the ansible_ssh_common_args inventory variable. Any ...READ MORE
Hey @Kiara, Check your python version, uninstall ...READ MORE
Hey @Nisha, according to your error, your ...READ MORE
Hi@akhtar, You can use the copy module in ...READ MORE
Define tags... Then while running playbook use --skip-tags. READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.