View ansible playbooks
The following playbooks are used as part of this exercise
| Playbook | Purpose |
|---|---|
| bigip-node.yml | Creates a Big-IP nodes |
| bigip-pool.yml | Creates a Big-IP pools |
| bigip-pool-members.yml | Adds members to pools |
| bigip-irule.yml | Creates an irule |
| bigip-virtual-server.yml | Creates a virtual server |
| bigip-config.yml | Saves the BIG-IP configuration |
The values in the inventories/staging/group_vars/f5/all.yml are used to define the configuration of each element.
Prior to the playbooks being run, the ANSIBLE_VAULT_PASSWORD environmental variable is injected as a file into the container with the following command:
The vault_passwd file is then used to decrypt the values in the vault file that contain the credentials to logon to the F5. The playbooks are all executed as follows: