This document discusses using Ansible for infrastructure automation. It provides examples of how Ansible can be used for provisioning infrastructure, configuring servers, patching, backups, cluster deployment, and scaling. It also gives three use cases: creating a platform for a client, integrating Ansible with other tools like vRA and CyberArk, and automating a two year project involving RedHat and Windows systems. It concludes by discussing common problems providing "DevOps as a service" and introducing Crevise PowerOps to address these.
2. Why Ansible ?
● Opensource
● Agentless
● Easy to read and write - yaml based
● Ready made modules available
● Readily available roles (Ansible Galaxy)
● Easy to install
3. Ansible Use Cases
● Infra Provisioning
● Server Configuration
● Patching
● Backups
○ Tools
○ Databases
○ Configs
○ AMI’s
● Cluster Deployment
● Scaling
14. The BORING monotonous tasks
● Installing Packages
● AMI Creation
● Adding or removing volumes to instance
● Vulnerability Assessment
● Patching
● Password Rotation
● Add new config to web server
15. Ad Hoc Tasks
● User management
○ Add user
○ Privilege management
○ Delete user
○ Update user password
○ Add or update user groups
● Gitlab
○ Project management
○ Gitlab user management
○ Access management
17. Client 2 Use Case
● vRA → vRO → Ansible Tower → Ansible
● Input Validation
○ Validate Datatypes
○ Validate value of variables
● Integration with CyberArk
● Integration with SAP Hana
○ Log onto DB, archive and wipe file and email report
● Dynamically enable/disable logging for Passwords
● Custom config file
● Ansible Tower Setup
19. Client 3 Use Case
● 2 year engagement
● One of RedHat’s most successful projects in APAC
● Automation with RHEl and Windows
● OS hardening
● Install and configure MSSQL multi-node cluster
● Integrated workflow with Cloudform
22. Our Accelerator - PowerOps
Common problems while providing “DevOps as a Service”
1. Dependency on good devops engineers
2. Simple CI/CD setup takes a long time
3. Custom implementation and automation
Crevise PowerOps:
- Eliminate people dependency
- Faster and smoother CI CD implementation
● - Multi platform and multi tool integration