it automation with ansible-tower : introduction to ansible & ansible tower
TRANSCRIPT
![Page 1: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/1.jpg)
Introduction Ansible & Ansible Tower
Walter Brunelli Solution Architect Infrastructure
MariaDB Roadshow 24.May 2016 Basel CH
![Page 2: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/2.jpg)
Agenda
• What is Ansible ?
• Ansible Core
• Ansible Tower
• Demo
![Page 3: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/3.jpg)
WHYANSIBLEDWASCREATED?
• Open Source Project started in 2012 by Michael De Haan (cobbler creator)
• Because existing Config Management projects were too complicated
• Target : Eliminate complexity to manage IT environments
![Page 4: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/4.jpg)
WHATISANSIBLE?
A radical simple IT AUTOMATION engine for repeating jobs!
• Configuration-, Orchestration and Deployment- Management Framework
How ?
• Agentless and with Playbooks
For whom?
• Operators, Administrators, Developers
Products
• Ansible Core + Ansible Tower
Nr 1 OpenSource project for Automation
![Page 5: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/5.jpg)
Principles of Ansible
![Page 6: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/6.jpg)
SUPPORTEDCLIENTPLATFORMS
Linux • RedHat/SuSe/Debian/Ubuntu/BSD/MacOSX
Various Windows OS
Unix • Solaris/AIX/HP-UX
Network Devices ans Load Balancers • Cisco/Juniper/Dell/F5/Arista/A10/HP/PaloAlto
Databases • MariaDB/Oracle/Postgres
![Page 7: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/7.jpg)
WHATISANSIBLE?
A radical simple IT AUTOMATION engine for repeating jobs!
• Configuration-, Orchestration and Deployment- Management Framework
How ?
• Agentless and with Playbooks
For whom?
• Operators, Administrators, Developers
Products
• Ansible Core + Ansible Tower
![Page 8: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/8.jpg)
WHYISAUTOMATIONSOIMPORTANT?
• Stability • Jobs are always executed the exactly same way
• Time saving • By delegating jobs to operations
• Compliance • Stick to defined company and/or ITIL processes
• Auditing
![Page 9: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/9.jpg)
ANSIBLEISIDEMPOTENT
IDEMPOTENCE
Is the property of an operations in mathematics and computer science that can be applied multiple times without changing the result beyond the initial application.
![Page 10: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/10.jpg)
ANSIBLEISIDEMPOTENT
IDEMPOTENCE
Is the property of an operations in mathematics and computer science that can be applied multiple times without changing the result beyond the initial application.
![Page 11: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/11.jpg)
Ansible Core
![Page 12: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/12.jpg)
WHATISANSIBLECORE?
• Community version of Ansible
• No support
• Important Features (Auditing, Job Scheduling, Role Based Access Control) missing
• Not ideal for Production Environment
• Not available in RedHat repos, Only external open-source, Eg. EPEL Fedora repos
![Page 13: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/13.jpg)
Architecture
![Page 14: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/14.jpg)
THEINVENTORYFILE
![Page 15: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/15.jpg)
ExecuConExamples
![Page 16: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/16.jpg)
Playbook
![Page 17: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/17.jpg)
Ansible Tower
![Page 18: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/18.jpg)
KEYADVANTAGEOFANSIBLETOWER
• Web-based UI
• Cloud Integration (Managing Amazon, Rackspace, MS Azure)
• Compliance: Reporting + Auditing
• Every job run is logged and can be traced.
• Role Based Access Control
• Separation of access rights.
• Delegation of tasks, Eg. Recurring jobs to Operating
• REST API
• All Functionalities are accessible over the API
• Monitoring
• Send out Alarm (Email etc.) if a job fails or if a config is found to be wrong
![Page 19: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/19.jpg)
MOREFEATURESOFANSIBLETOWER
• Job Scheduling
• Integrates with LDAP, AD and IDM
• Multi-Organization
Availability
• Available in rhel-7-server-extras-rpms Repository
• Current version is 2.4.4
![Page 20: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/20.jpg)
![Page 21: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/21.jpg)
ANSIBLETOWERUserInterface
![Page 22: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/22.jpg)
Ansible Tower Use-Cases
Almost very repeatable and programmable Process :
• Automated Application and Service Deployment
• Automated Add/Removal of customers/users in your IT environment,
• Automated patching of servers
• Rolling updates of your IT environemnt
• Run jobs on a weekly/monthly/yearly basis
![Page 23: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/23.jpg)
Ansible Tower Use-Case Example
![Page 24: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/24.jpg)
TOWEREdiCons
![Page 25: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/25.jpg)
Good Links to start with Ansible
• Documentation
docs.ansible.com
• Get started
docs.ansible.com/intro_getting_started.html
• Playbooks :
galaxy.ansible.com
github.com/ansible
![Page 26: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/26.jpg)
DEMO Ansible Tower
![Page 27: IT Automation with Ansible-Tower : Introduction to Ansible & Ansible Tower](https://reader034.vdocuments.site/reader034/viewer/2022042505/5876fde51a28abf3398b6b73/html5/thumbnails/27.jpg)
Thank you !
Walter Brunelli Solution Architect Infrastructure
March 2016