Pi Ansible
Learn the basics of Ansible to automate our Raspberry Pi servers on a whole new level.
Ansible is a great tool for managing servers even if you're only managing one. In this series, we're going to learn how to automate much of what we did manually in the Pi Server series.
Once we understand the fundamentals of Ansible, we can start managing servers on premise (ie locally), in the cloud, or both!
Prerequisites
- 30 Days of Python (at least the first 15 days)
- Pi Server (highly recommended)
References
Lessons
1
Welcome
0:00
2
Requirements
0:00
3
Guides & Help
0:00
4
Flash HypriotOS with the Raspberry Pi Imager
0:00
5
Configure `user-data` for HypRiotOS Boot
0:00
6
nmap & create inventory.ini
0:00
7
Why Ansible? Let's install
0:00
8
Your first ansible playbook
0:00
9
Ansible.cfg
0:00
10
Variables in Playbooks
0:00
11
Basic Environment Variable Conditions
0:00
12
Run Multiple Playbooks
0:00
13
Inventory Groups & Import Playbook Variables
0:00
14
Install nginx on Load Balancer Group
0:00
15
Organize into Modules
0:00
16
Docker Upgrading with docker-pre task
0:00
17
Build & Run Docker Containers
0:00
18
Challenges Managing Docker Containers with Ansible
0:00
19
Ansible Templates & Nginx Load Balancer
0:00
20
Docker Restart Policy
0:00
21
Containerize our nginx Load Balancer
0:00
22
Thank you and next steps
0:00