18 lines
459 B
YAML
18 lines
459 B
YAML
---
|
|
- name: BIG-IP SETUP
|
|
hosts: lb
|
|
connection: local
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
- name: CREATE NODES
|
|
bigip_node:
|
|
provider:
|
|
server: "{{private_ip}}"
|
|
user: "{{ansible_user}}"
|
|
password: "{{ansible_ssh_pass}}"
|
|
server_port: 8443
|
|
validate_certs: false
|
|
host: "{{hostvars[item].ansible_host}}"
|
|
name: "{{hostvars[item].inventory_hostname}}"
|
|
loop: "{{ groups['web'] }}" |