aci_tenant – Manage tenants (fv:Tenant)¶
New in version 2.4.
Parameters¶
See Also¶
See also
- aci_ap – Manage top level Application Profile (AP) objects (fv:Ap)
- The official documentation on the aci_ap module.
- aci_bd – Manage Bridge Domains (BD) objects (fv:BD)
- The official documentation on the aci_bd module.
- aci_contract – Manage contract resources (vz:BrCP)
- The official documentation on the aci_contract module.
- aci_filter – Manages top level filter objects (vz:Filter)
- The official documentation on the aci_filter module.
- aci_vrf – Manage contexts or VRFs (fv:Ctx)
- The official documentation on the aci_vrf module.
- APIC Management Information Model reference
- More information about the internal APIC class fv:Tenant.
- Cisco ACI ガイド
- Detailed information on how to manage your ACI infrastructure using Ansible.
- Cisco ACI モジュールの開発
- Detailed guide on how to write your own Cisco ACI modules to contribute.
Examples¶
- name: Add a new tenant
aci_tenant:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
description: Production tenant
state: present
delegate_to: localhost
- name: Remove a tenant
aci_tenant:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
state: absent
delegate_to: localhost
- name: Query a tenant
aci_tenant:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
state: query
delegate_to: localhost
register: query_result
- name: Query all tenants
aci_tenant:
host: apic
username: admin
password: SomeSecretPassword
state: query
delegate_to: localhost
register: query_result
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by an Ansible Partner. [certified]
Authors¶
- Jacob McGill (@jmcgill298)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.