Skip to content

miha-plesko/ansible-role-nuage-remove-entity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Ansible Role: nuage-remove-entity

This role allows you to remove any entity on Nuage server by id.

Requirements

pip install vspk

Role Variables

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.

Dependencies

This role depends on no other Galaxy role.

Example Playbook

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

License

BSD

About

Ansible role to remove any Nuage entity by id

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published