Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
What's Ansible?
What’s Ansible?
Ansible is a radically simple IT automation
engine.
• Opensource tool
• Written in Python
• Don’t need an ...
Used for?
• Cloud provisioning
• Configuration
• Management
• Deployment
• Intra-service orchestration
Installation
Ansible vs The
Others
There are other similar tools like: Chef,
Puppet, Fabric, etc.
Compared to Ansible, those tools are
...
Ansible's Structure
Ansible's structure is basically organized in
two files and modules.
Files:
• Inventory
• Playbook
Mod...
Inventory
It's a file called “hosts” that contains the
group of hosts for provisioning
Playbooks
• Playbooks defines your deployment steps
and configuration.
• They are modular, can contain variables and
can b...
Playbooks
Hosts - Define a group of hosts
Vars - Define context variables
Tasks - Define tasks to be run on hosts
Notify -...
Simple Playbook
Playbook
Running a Playbook
Core Modules
Core modules are a set of modules to integrate
with a many services like EC2 module, to
create, terminate, st...
How Ansible works?
How Ansible works?
Core modules
Core modules
Extra modules
Extra modules are a set of modules to integrate
with many services that have a lot of features
like SQS mana...
Extra modules
Ansible Tower
Ansible Tower is a proprietary tool that provides
a complete dashboard to manage your
provisioning in real-t...
Ansible Tower
Questions?
Upcoming SlideShare
Loading in …5
×

Ansible get started

263 views

Published on

Intro to ansible

Published in: Software
  • Be the first to comment

Ansible get started

  1. 1. What's Ansible?
  2. 2. What’s Ansible? Ansible is a radically simple IT automation engine. • Opensource tool • Written in Python • Don’t need an agent • YAML • SSH
  3. 3. Used for? • Cloud provisioning • Configuration • Management • Deployment • Intra-service orchestration
  4. 4. Installation
  5. 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.
  6. 6. Ansible's Structure Ansible's structure is basically organized in two files and modules. Files: • Inventory • Playbook Modules : • Core • Extra
  7. 7. Inventory It's a file called “hosts” that contains the group of hosts for provisioning
  8. 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. 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.
  10. 10. Simple Playbook
  11. 11. Playbook
  12. 12. Running a Playbook
  13. 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.
  14. 14. How Ansible works?
  15. 15. How Ansible works?
  16. 16. Core modules
  17. 17. Core modules
  18. 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.
  19. 19. Extra modules
  20. 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.
  21. 21. Ansible Tower
  22. 22. Questions?

×