F5 Programmability Training > Automation Mini Classes > Mini Class 1 - F5 Architectures with Ansible > Module 1 – Basic BIG-IP administration with Ansible Source | Edit on
Lab 4 - Create a Virtual Server¶
Task 1 - 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.
Verify BIG-IP results.
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.


