Technical Notes
We're all on the same page!
Showing posts with label
ansible
.
Show all posts
Showing posts with label
ansible
.
Show all posts
Tuesday, 24 May 2022
'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'stdout'
›
Action $ ansible-playbook -i /etc/ansible/hosts /etc/ansible/example.yml -v Error 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object...
Friday, 20 August 2021
"Attempting to decrypt but no vault secrets found" issue solution
›
Action $ ansible-playbook -i /etc/ansible/hosts /etc/ansible/example.yml -v Error Attempting to decrypt but no vault secrets found Solution...
Monday, 15 June 2020
How to resolve "[Errno 13] Permission denied"?
›
Action $ ansible-playbook -i /etc/ansible/hosts /etc/ansible/example.yml -v Error ERROR! Unexpected Exception, this is probably a bug: [Err...
Tuesday, 27 August 2019
Ansible Commands Book
›
-> valid syntax of the playbook $ ansible-playbook -i myhosts example.yml -v -- syntax-check -> show elapsed time of the playbook $ ...
Thursday, 9 August 2018
How to check available yum packages?
›
e.g. install/update ansible by yum -> Go to repo path # cd /etc/yum.repos.d/ -> Add source paths into repo file to be able to ins...
How to install/configure/run ansible?
›
-> Set hostname # hostnamectl set-hostname ansible_host -> Add remote hosts into /etc/hosts file # vi /etc/hosts 10.10.10.2 remo...
Tuesday, 7 August 2018
usage of "run_once: true" option
›
If you want to run only once a specific task during all playbook execution, you may add " run_once: true " option into your task t...
Friday, 13 July 2018
How to solve remote connection error cause of iptables/firewalld service?
›
Case Machine A (192.168.1.2) wants to connect on Machine B (192.168.1.5) by database port. Action In Machine A; # su - postgres $ psql...
How to solve database module error?
›
Action # ansible-playbook -i myhosts example.yml -v Error TASK [example role : example task] ******************* fatal: [local]: FAILED...
Friday, 29 June 2018
How to run a SQL query/statement in a task?
›
You are able to run a SQL query/statement with "echo" command by shell module for the ansible task. # an example task for sql ...
benefit of "gather_facts: no" setting
›
If you do not need any facts for your variables, you can run your playbook more fast via gather_facts setting. For this, just add followi...
›
Home
View web version