HOWTO: Using Ansible facts to make decisions in playbooks
Agile Coach, ARTIFICIAL INTELLIGENCE, Block chain, Business Analyst BA, DATA science, Development, Devops Automation, Dotnet, Education, Free Job training and assistance, Information, Infrastructure automation, Interview questions, JAVA, jobs, Learn, Machine learning, Python Automation, QA Automation, RPA Automation, SAP crm, Scrum master Agile, Skill, UI Design May 17, 2022 5 Comments
This is an introduction to the use of ansible facts to make decisions within playbooks.
You can find the sample code here: https://github.com/whboyd/ansible-facts-sample
Relevant ansible docs:
Ansible Facts: http://docs.ansible.com/ansible/latest/playbooks_variables.html#information-discovered-from-systems-facts
When statements: http://docs.ansible.com/ansible/latest/playbooks_conditionals.html#the-when-statement
source
Leave us a comment Cancel reply
COMMON QUESTIONS
Categories
- Agile Coach
- ARTIFICIAL INTELLIGENCE
- Block chain
- Business Analyst BA
- DATA science
- Development
- Devops Automation
- Dotnet
- Education
- Free Job training and assistance
- Information
- Infrastructure automation
- Interview questions
- JAVA
- jobs
- Learn
- Machine learning
- Python Automation
- QA Automation
- RPA Automation
- SAP crm
- Scrum master Agile
- Skill
- UI Design
- Uncategorized
FREQUENTLY ASKED QUESTIONS
We use cookies to provide you with the best possible user experience. By continuing to use our site, you agree to their use. Learn more
5 Comments
Vitus Yu
May 17, 2022 06:20 amYou mentioned there are a lot of ways to do the same function, could you shed light on just another ways to do the same conditional execution of this Ansible tasks ?
Hungarian Nerd
May 17, 2022 06:20 amthis is helping in my current job, thanks
David Tovar
May 17, 2022 06:20 amI actually hate that you made this video. Precisely because it was really good and there aren’t others.
Sandeep Verma
May 17, 2022 06:20 amThat's a great video about Ansible Facts………….Thank You WIlliam
Swadhikar C
May 17, 2022 06:20 amGreat video and concise presentation. subscribed! Would you make some more videos on ansible?