All my posts about various Cloud technologies
Dynamic Network Config in Ansible: Local to Azure VNet
If like me you have been guilty of hard coding all of your network configuration in Ansible variables like this … Hard Code Values Lines: 12 Charaters: 359 Language: YAML 1 2 3 4 5 6 7 8 9 10 11 12 vars: network: full_range: "10.0.0.0/24" subnets: - name: "subnet1" address_range: "10.0.0.0/27" - name: "subnet2" address_range: "10.0.0.32/27" - name: "subnet3" address_range: "10.0.0.64/27" - name: "subnet4" address_range: "10.0.0.96/27" ...