2.1.4. Create a Virtual Server¶
Create a virtual server and assign pool
You need to assign newly created nodes to a pool. Use the bigip_virtual_server
module.
Create a playbook
vs.yaml.Run this playbook.
- Type
ansible-playbook playbooks/vs.yaml
If successful, you should see similar results
- Type
Verify BIG-IP results.
- Select Local Traffic -> Virtual Servers -> Virtual Server List
- Open browser to
http://10.1.10.10.
Note
The bigip_virtual_server module can configure a number of attributes for
virtual server. At a minimum, the name is required.
This module is idempotent. Therefore, you can run it over and over again and so-long as no settings have been changed, this module will report no changes.
The module has several more options, all of which can be seen at this link.
