Forum Discussion
Nazir_52641
Cirrus
Hi Marco,
Until bigip_node module is updated to support ephemeral node you can use uri module
with iControl REST API. Below is the sample
- name: " Create ephemeral node"
uri:
url: "https://big-ip-1.example.com/mgmt/tm/ltm/node/"
method: "POST"
validate_certs: no
username: "admin"
password: "admin"
body_format: "json"
body:
name: "app1-alb.example.com"
partition: "Common"
address: "app1-alb.example.com"
delegate_to: localhost
Note: If we now the iControl REST API to create an object we can use the same to create
the object using uri module without any dependency on any bigip related modules.
Thanks
Syed Nazir
Tim_Rupp
Oct 26, 2017Nimbostratus
@Marco Soldat the bigip_node module should now support your feature request. You can get it here.
https://github.com/F5Networks/f5-ansible/blob/devel/library/bigip_node.py
It will ship with Ansible 2.5