Kursus
Ansible in Production
Baru di sini? Buat akun gratis
Tentang kursus ini
After this course you can build an Ansible project with inventories, group and host variables, roles, templates and handlers; make tasks idempotent; protect secrets with ansible-vault; dry-run with check and diff; deploy and roll back safely with serial rollouts; diagnose the common failures (SSH, Python, sudo, variables, handlers); and judge the business case for automation using your own numbers.
Yang akan Anda pelajari
Start here: the 3 AM page
- The 3 AM page
- Course map (interactive)
- Diagram: Start here: the 3 AM page
- Course map, free docs and credentials
- Pre-check: Ansible in Production
Concepts
- Diagram: Concepts
- What Ansible is and how it differs from Terraform and Chef
- Playbooks, plays, tasks and roles
- Handlers, variables, templates and facts
- Environments, rolling updates, idempotency and error handling
- Vault, privilege escalation, SSH keys and playbook structure
- Tags and debugging output
- Collections and inventories
- Group variables, project layout and ansible.cfg
- Provisioning cloud infrastructure and using cloud-init
- Baking Ansible into images and testing playbooks
- Checkpoint: concepts
The runbook
- Diagram: The runbook
- Setting up the control node and SSH access
- Inventory files and group variables
- Pre-checks, dry runs, deploying and rolling back
- Upgrading Ansible and fixing common errors
- Debugging techniques and everyday commands
- Backups, recovery, secrets and performance
- Checkpoint: runbook
Workshop
- Diagram: Workshop
- Lab setup, a static inventory and ad-hoc commands
- Your first playbook and group variables
- Facts and registered variables
- A reusable role and a template
- Conditionals and loops
- Idempotent tasks and block/rescue
- Validation and Vault
- Handlers and tags
- Backups and a test playbook
- A rollback playbook
- Troubleshooting and the finish checklist
The business view
- Diagram: The business view
- The business case, and how far to trust the numbers
- Time savings and risk reduction
- Scaling a team and responding faster
- Revenue claims and a sample ROI
- ROI arithmetic and what it says about customers
- Risks Ansible reduces
- A phased rollout and the metrics to track
- Two example organizations
- Ansible against manual work and other tools
- Answering the common objections
- Roadmap, governance and when to invest
- Time to return and how to start
- Checkpoint: business view
Summary and incident drill
- Diagram: Summary and incident drill
- What the Ansible course contains
- Coverage, claims and where this fits
- Incident drill
