xlab_si.nuage_remove_entity
Ansible Role: nuage-remove-entity
This role helps you delete any item on the Nuage server using its ID.
Requirements
pip install vspk
Role Variables
Variable | Default | Description |
---|---|---|
nuage_auth | / | An object for Nuage authentication, see the example below. |
entity_type | / | The name of the item we want to delete in CamelCase, e.g., Enterprise, Domain, Subnet, FloatingIp... |
id | / | The ID of the item we want to delete. |
Dependencies
This role does not rely on any other Galaxy role.
Example Playbook
Here’s an example that shows how to remove a Subnet with ID adbfcb81-e0ab-4b7e-9e51-1b6c5e862bb9
:
- hosts: localhost
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:
- xlab_si.nuage_remove_entity
License
BSD
Installa
ansible-galaxy install xlab_si.nuage_remove_entity
Licenza
Unknown
Download
38.6k
Proprietario
Research and development company based in Ljubljana, Slovenia.