environment introducing ansible to an existing atl slide decks/introduc… · introducing ansible...
TRANSCRIPT
![Page 1: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/1.jpg)
Introducing Ansible to an Existing EnvironmentManaging hosts with a service accountFidel DominguezLinux Systems Engineer
![Page 2: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/2.jpg)
My automation story1. How did you get started with Ansible?I started with Ansible early 2015. I know, I'm a newbie.
2. How long have you been using it?I've been using ansible for 4 years and counting, because I believe this is the right way to manage, automate, deploy, and do all the things.
3. What's your favorite thing to do when you Ansible?I love when all pieces are grouped together and works as I expected.
![Page 3: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/3.jpg)
● How easy is to start using Ansible in your organization where Ansible was never an option because of the complexity of the environment.
● How we can leverage Ansible, starting with a service account to manage our servers.
● DEMO
Agenda
![Page 4: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/4.jpg)
Overview how Ansible works
● Efficient Architecture● SSH keys are your friends● Manage your inventory in simple text files
![Page 5: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/5.jpg)
Basic Concepts
● Ansible and it's modules are written in Python○ You don’t need to know Python to use Ansible.
● Ansible uses SSH to connect to hosts● Ansible is agentless
○ There's no need to install Ansible in the target hosts. It will copy Python code using SSH and run from there. Only requirement is Python.
![Page 6: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/6.jpg)
Existing Problems
![Page 7: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/7.jpg)
● They already have a working environment, and do not know how to start managing servers ...
● They think it is a waste of time, they are too busy to put in the effort ...● They think it would take them a long time to start using Ansible to
manage their servers ...● They are not interested in automating anything ...● Do not rely on automation ...● They do not know what they are talking about ...● Scared of change ...
Existing Problems
![Page 8: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/8.jpg)
![Page 9: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/9.jpg)
Solution to all the problems
![Page 10: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/10.jpg)
![Page 11: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/11.jpg)
Ansible service account
● Same account name● Different passphrases● Flexibility● Local account
![Page 12: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/12.jpg)
“yaml is not a program language - do not try to coding in yaml”
“YAML is a human-readable data-serialization language.”
![Page 13: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/13.jpg)
Quick View of the plays and DEMO
![Page 14: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/14.jpg)
Questions?
![Page 15: Environment Introducing Ansible to an Existing ATL Slide Decks/introduc… · Introducing Ansible to an Existing Environment Managing hosts with a service account Fidel Dominguez](https://reader033.vdocument.in/reader033/viewer/2022042804/5f5b5a47a7a7e67bd067f530/html5/thumbnails/15.jpg)