Managing Infrastructure with Python, Fabric and Ansible
summary
Infrastructure moves from manual SSH sessions to declarative automation: don't SSH into machines, use tools and standardize lifecycle steps (provision → config → deploy). Fabric is shown as a quick Python-driven command runner but Fabric: simple but brittle when commands fail; Ansible is used for production work with inventories (including dynamic AWS), Ansible: roles, modules, templates to make git checkouts, service config and templated configs idempotent and auditable. Examples include a fabric fabfile, an Ansible inventory/playbook/roles layout and using the git module instead of raw shell commands.
AI-written summary · about
chapters (10)
- 0:00Intro
- 4:33The 3Step Process
- 8:45Old Architecture
- 9:51Fabric
- 11:31Fabric Limitations
- 12:12Ansible
- 12:59Ansible Modules
- 13:48Get Tasks
- 14:29Roles
- 16:21Takeaways
related talks
48mDeploying web applications to the cloud with Python
46mInfrastructure Python
16mAnsible
32mOne person's Ansible is another's pyinfra.
01h 00mDon't fear the devops. Taming servers infrastructure with Ansible
36mGentle Introduction to Ansible
39mAnsible - Your First Step Into Server Provisioning
36mMake your environment sane with Ansible Automation
