Skip to content

Commit

Permalink
Fix onyx group vars (#50)
Browse files Browse the repository at this point in the history
* use correct var names for group_vars

* remove unnecessary onyx overrides from plays
  • Loading branch information
velomatt authored Aug 3, 2023
1 parent 73c919c commit 7557482
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
5 changes: 2 additions & 3 deletions group_vars/onyx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@

ansible_connection: network_cli
ansible_network_os: onyx
gather_facts: false
become: true
become_method: enable
ansible_become: true
ansible_become_method: enable
10 changes: 0 additions & 10 deletions playbooks/configure_vlans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,7 @@

- name: Get Onyx LLDP tables
hosts: onyx
connection: network_cli
gather_facts: false
become: true
become_method: enable
vars:
ansible_network_os: onyx
roles:
- get_onyx_lldp

Expand All @@ -104,11 +99,6 @@

- name: Configure Onyx VLANs
hosts: onyx
connection: network_cli
gather_facts: false
become: true
become_method: enable
vars:
ansible_network_os: onyx
roles:
- configure_onyx_vlans
10 changes: 0 additions & 10 deletions playbooks/remove_vlans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,7 @@

- name: Get Onyx LLDP tables
hosts: onyx
connection: network_cli
gather_facts: false
become: true
become_method: enable
vars:
ansible_network_os: onyx
roles:
- get_onyx_lldp

Expand All @@ -67,11 +62,6 @@

- name: Remove Onyx allowed VLANs
hosts: onyx
connection: network_cli
gather_facts: false
become: true
become_method: enable
vars:
ansible_network_os: onyx
roles:
- remove_onyx_allowed_vlans

0 comments on commit 7557482

Please sign in to comment.