Provision Then Configure in One Flow
Hand off new hosts to config plays.
Two Jobs, One Playbook
Provisioning makes a server exist. Configuring makes it useful. The real power is doing both in a single, smooth play. 🔗
Provision on the Control Node
Cloud creation tasks run locally against the AWS API, so the provisioning play targets localhost, not the new server.
- hosts: localhost
gather_facts: false
tasks:
- amazon.aws.ec2_instance: { name: web-01 }All lessons in this course
- Cloud Collections & Authentication
- Launch EC2 Instances Declaratively
- Networking: VPCs, Subnets & Security Groups
- Provision Then Configure in One Flow