diff --git a/geant/gap_ansible/roles/base_config/tasks/main.yml b/geant/gap_ansible/roles/base_config/tasks/main.yml index 0f70b1c83e34fdb785b8f33a14a3c49f4bbb1f42..35d3b0e1187da3a1f862c8943dd772ec3613f1ac 100644 --- a/geant/gap_ansible/roles/base_config/tasks/main.yml +++ b/geant/gap_ansible/roles/base_config/tasks/main.yml @@ -45,6 +45,10 @@ ansible.builtin.include_vars: dir: /opt/ansible_inventory/group_vars/routers +- name: Import variables from 'all' + ansible.builtin.include_vars: + dir: /opt/ansible_inventory/group_vars/all + - name: Generate an ID for this run ansible.legacy.set_fact: opid: "{{ lookup('community.general.random_string', length=18, special=false) }}" diff --git a/geant/gap_ansible/roles/ibgp_update/tasks/main.yml b/geant/gap_ansible/roles/ibgp_update/tasks/main.yml index bbe8fb8a8cdf3d301c4c6bfa6db65c65e2f7ec4e..6306f3171242a782a25666fcd2c3e85147ab53c6 100644 --- a/geant/gap_ansible/roles/ibgp_update/tasks/main.yml +++ b/geant/gap_ansible/roles/ibgp_update/tasks/main.yml @@ -14,6 +14,10 @@ ansible.builtin.include_vars: dir: /opt/ansible_inventory/group_vars/routers +- name: Import variables from 'all' + ansible.builtin.include_vars: + dir: /opt/ansible_inventory/group_vars/all + - name: Generate an ID for this run ansible.legacy.set_fact: opid: "{{ lookup('community.general.random_string', length=18, special=false) }}" diff --git a/geant/gap_ansible/roles/iptrunk/tasks/main.yml b/geant/gap_ansible/roles/iptrunk/tasks/main.yml index 788199e9ad2a8440383b1de02e020854469da188..9969a88d2585402af066449b79a38ff9b3b756ca 100644 --- a/geant/gap_ansible/roles/iptrunk/tasks/main.yml +++ b/geant/gap_ansible/roles/iptrunk/tasks/main.yml @@ -16,6 +16,10 @@ ansible.builtin.include_vars: dir: /opt/ansible_inventory/group_vars/routers +- name: Import variables from 'all' + ansible.builtin.include_vars: + dir: /opt/ansible_inventory/group_vars/all + - name: Set an ID for this run ansible.builtin.set_fact: opid: "{{ lookup('community.general.random_string', length=18, special=false) }}" diff --git a/geant/gap_ansible/roles/iptrunk_checks/tasks/main.yml b/geant/gap_ansible/roles/iptrunk_checks/tasks/main.yml index 3a56c87f877258dcf0e2b8625cee297c2c1e4cc7..af907bd0a14dd4ee85f1dae2cdb529c7c4047c6b 100644 --- a/geant/gap_ansible/roles/iptrunk_checks/tasks/main.yml +++ b/geant/gap_ansible/roles/iptrunk_checks/tasks/main.yml @@ -10,6 +10,10 @@ ansible.builtin.meta: end_play when: (check is not defined) or (check not in checks) +- name: Import variables from 'all' + ansible.builtin.include_vars: + dir: /opt/ansible_inventory/group_vars/all + - name: Import routers variables ansible.builtin.include_vars: dir: /opt/ansible_inventory/group_vars/routers diff --git a/geant/gap_ansible/roles/iptrunk_migration/tasks/main.yml b/geant/gap_ansible/roles/iptrunk_migration/tasks/main.yml index 1ca1cd481f901475e058a24485912f34c940aee5..92983df4e78f4c1f93853991324d3e1d2184efcb 100644 --- a/geant/gap_ansible/roles/iptrunk_migration/tasks/main.yml +++ b/geant/gap_ansible/roles/iptrunk_migration/tasks/main.yml @@ -12,6 +12,10 @@ ansible.builtin.meta: end_play when: ((verb is not defined) or (config_object is not defined)) or (verb not in verbs) or (config_object not in config_objects) +- name: Import variables from 'all' + ansible.builtin.include_vars: + dir: /opt/ansible_inventory/group_vars/all + - name: Import routers variables ansible.builtin.include_vars: dir: /opt/ansible_inventory/group_vars/routers diff --git a/geant/gap_ansible/roles/iptrunk_twamp/tasks/main.yml b/geant/gap_ansible/roles/iptrunk_twamp/tasks/main.yml index ad4d8489522b09ea5099f238a8ef631c6a9f0c96..70d26f5a297f1c3c378d5fe785bdc1b9d072dc16 100644 --- a/geant/gap_ansible/roles/iptrunk_twamp/tasks/main.yml +++ b/geant/gap_ansible/roles/iptrunk_twamp/tasks/main.yml @@ -1,6 +1,10 @@ --- # tasks file for iptrunk_twamp +- name: Import variables from 'all' + ansible.builtin.include_vars: + dir: /opt/ansible_inventory/group_vars/all + - name: Import routers variables ansible.builtin.include_vars: dir: /opt/ansible_inventory/group_vars/routers