Skip to content

Commit

Permalink
Merge pull request #5 from philippebureau/global_vars_update
Browse files Browse the repository at this point in the history
Global vars update
  • Loading branch information
MitchV85 authored Aug 30, 2023
2 parents 8f8b5db + c61d73e commit 9d3619d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 20 deletions.
7 changes: 7 additions & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ nocows = True
# Disable deprecation warnings, more readable output
deprecation_warnings = False

#enable global vars
vars_plugins_enabled = arista.avd.global_vars, host_group_vars

#define global vars path
[vars_global_vars]
paths = ../../global_vars

[paramiko_connection]
# Automatically add the keys of target hosts to known hosts
host_key_auto_add = True
Expand Down
5 changes: 0 additions & 5 deletions playbooks/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

tasks:

- name: Import Global Vars
ansible.builtin.include_vars: "{{ item }}"
with_items:
- "../global_vars/global_dc_vars.yml"

- name: Generate Structured Variables per Device
ansible.builtin.import_role:
name: arista.avd.eos_designs
Expand Down
5 changes: 0 additions & 5 deletions playbooks/cvp1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

tasks:

- name: Import Global Vars
ansible.builtin.include_vars: "{{ item }}"
with_items:
- "../global_vars/global_dc_vars.yml"

- name: Generate Intended Config and Documentation
ansible.builtin.import_role:
name: arista.avd.eos_config_deploy_cvp
Expand Down
5 changes: 0 additions & 5 deletions playbooks/cvp2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

tasks:

- name: Import Global Vars
ansible.builtin.include_vars: "{{ item }}"
with_items:
- "../global_vars/global_dc_vars.yml"

- name: Generate Intended Config and Documentation
ansible.builtin.import_role:
name: arista.avd.eos_config_deploy_cvp
Expand Down
5 changes: 0 additions & 5 deletions playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

tasks:

- name: Import Global Vars
ansible.builtin.include_vars: "{{ item }}"
with_items:
- "../global_vars/global_dc_vars.yml"

- name: Deploy Configuration to Device
ansible.builtin.import_role:
name: arista.avd.eos_config_deploy_eapi

0 comments on commit 9d3619d

Please # to comment.