Ansible Introduction Flashcards
What tasks can be done with Ansible?
- fetch data from devices
- copy files to/from devices
- install software on devices
- configure software on devices
What is a feature of Ansible that ensires that execution of changes is predictable?
Ansible can run “dry run” showing the potential changes
The ansible software package consists of 3 major components. What are they?
- CLI tools that drive the automation engine (e.g. playbook, ansible doc)
- DSL language that Ansible is written in
- madular packaging and publishing framework for Ansible automation
What is the language in which the Ansible domains are written in and how are they structured?
Domain-Specific Language (DSL); structured in YAML
In what language are the Ansible tools written?
the tools run Python software that interprets various files defining how the IT infrastructure should operate
What are collections and what do they allow to do?
modular packaging framework that allow to write, reuse and share Ansible automation with others
What are other automation tools that are similar in nature?
Puppet, Chef, SlatStack
Does Ansible need an agent to be installed?
no
What authentication methods can Ansible leverage?
TACAS+, RADIUS, LDAP (existing auhtentication methods)
How is Ansible executed when run against a Linux server?
copies Python software to the Linux server using SFTP or SCP and executes the software on the server itself
How is Ansible executed when run against a a network device?
Python software is executed on the Ansible Control Node - ensure it has enough resources, as the script is executed locally
What is a Porting Guide?
document breaking changes to help to prepare automation for future Ansible releases; major releases include breaking changes that are not backwards compatible
What is a Changelog?
similar to Porting Guide, but very detailed; lists all changes made between two releases
What is the Control Node?
machine with Ansible software installed that executes Ansible automation against Managed Nodes
What is a Managed Node, also commonly referred to as Host?
a host that Ansible automation executes against