Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global vars update #5

Merged
merged 4 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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