5. Ansible vs The
Others
There are other similar tools like: Chef,
Puppet, Fabric, etc.
Compared to Ansible, those tools are
more complex because they need agents
or have their specific configuration
language which makes it difficult to work
with them.
7. Inventory
It's a file called “hosts” that contains the
group of hosts for provisioning
8. Playbooks
• Playbooks defines your deployment steps
and configuration.
• They are modular, can contain variables and
can be used to orchestrate steps across
multiple machines
• They are config files written in simple YAML
• They contain multiple tasks
• And they make use of "mature" modules
9. Playbooks
Hosts - Define a group of hosts
Vars - Define context variables
Tasks - Define tasks to be run on hosts
Notify - Call a specific handler when a task
runs successfully.
Handlers - They are like tasks, but they only
run by a notifier.
13. Core Modules
Core modules are a set of modules to integrate
with a many services like EC2 module, to
create, terminate, start and stop an AWS EC2
instance or Docker module to manage Docker
containers, etc.
18. Extra modules
Extra modules are a set of modules to integrate
with many services that have a lot of features
like SQS management queue or MySQL
slave/master replication management.
20. Ansible Tower
Ansible Tower is a proprietary tool that provides
a complete dashboard to manage your
provisioning in real-time with logs, playbooks
scheduling, remote commands execution,
visual inventory management and many other
features. It’s free for up to 10 nodes. There is
also a Trial version for 30 days.