This role allows you to remove any entity on Nuage server by id.
pip install vspk
Variable | Default | Description |
---|---|---|
nuage_auth | / | Nuage authentication object, see example below. |
entity_type | / | CamelCase name of entity that we're deleting e.g. Enterprise, Domain, Subnet, FloatingIp... |
id | / | Id of entity that we're deleting. |
This role depends on no other Galaxy role.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
- hosts: servers
connection: local
gather_facts: False
vars:
nuage_auth:
api_username: user
api_password: pass
api_enterprise: csp
api_url: https://my.nuage.net
api_version: v5_0
entity_type: Subnet
id: adbfcb81-e0ab-4b7e-9e51-1b6c5e862bb9
roles:
- nuage-remove-entity
BSD