Created
September 19, 2018 20:47
-
-
Save dagwieers/5164c17f97a06462d1bacc66bac669ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: localhost | |
gather_facts: no | |
tasks: | |
- name: Blah | |
aci_interface_policy_leaf_profile: | |
host: '{{ aci_hostname }}' | |
username: '{{ aci_username }}' | |
password: '{{ aci_password }}' | |
validate_certs: '{{ aci_validate_certs | default(false) }}' | |
use_ssl: '{{ aci_use_ssl | default(true) }}' | |
use_proxy: '{{ aci_use_proxy | default(true) }}' | |
#output_level: debug | |
leaf_interface_profile: MyLeafProfile | |
state: present | |
- name: Adding port 1/34 to access port selector MyPortSelector | |
aci_access_port_to_interface_policy_leaf_profile: | |
host: '{{ aci_hostname }}' | |
username: '{{ aci_username }}' | |
password: '{{ aci_password }}' | |
validate_certs: '{{ aci_validate_certs | default(false) }}' | |
use_ssl: '{{ aci_use_ssl | default(true) }}' | |
use_proxy: '{{ aci_use_proxy | default(true) }}' | |
#output_level: debug | |
access_port_selector: MyPortSelector | |
from: 34 | |
to: 34 | |
leaf_interface_profile: MyLeafProfile | |
policy_group: MyPolicyGroup | |
interface_type: port_channel | |
leaf_port_blk: 30534 | |
description: Access Port Selector for policy-group MyPolicyGroup | |
leaf_port_blk_description: MyDescription | |
state: present | |
- name: Adding port 1/33 to access port selector MyPortSelector | |
aci_access_port_to_interface_policy_leaf_profile: | |
host: '{{ aci_hostname }}' | |
username: '{{ aci_username }}' | |
password: '{{ aci_password }}' | |
validate_certs: '{{ aci_validate_certs | default(false) }}' | |
use_ssl: '{{ aci_use_ssl | default(true) }}' | |
use_proxy: '{{ aci_use_proxy | default(true) }}' | |
#output_level: debug | |
access_port_selector: MyPortSelector | |
from: 33 | |
to: 33 | |
leaf_interface_profile: MyLeafProfile | |
policy_group: MyPolicyGroup | |
interface_type: port_channel | |
leaf_port_blk: 30533 | |
description: Access Port Selector for policy-group MyPolicyGroup | |
leaf_port_blk_description: MyDescription | |
state: present | |
- name: Querying | |
aci_access_port_to_interface_policy_leaf_profile: | |
host: '{{ aci_hostname }}' | |
username: '{{ aci_username }}' | |
password: '{{ aci_password }}' | |
validate_certs: '{{ aci_validate_certs | default(false) }}' | |
use_ssl: '{{ aci_use_ssl | default(true) }}' | |
use_proxy: '{{ aci_use_proxy | default(true) }}' | |
#output_level: debug | |
leaf_interface_profile: MyLeafProfile | |
policy_group: MyPolicyGroup | |
interface_type: port_channel | |
description: Access Port Selector for policy-group MyPolicyGroup | |
state: query |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment