Skip to content

Commit 534617a

Browse files
committed
Move ansible_user_dir to group_vars [4/5]
This commit is one of the steps of replacing common used vars with group_vars to improve overall maintenance of variables in ci-framework Signed-off-by: Amartya Sinha <[email protected]>
1 parent 84c46b6 commit 534617a

File tree

14 files changed

+0
-18
lines changed

14 files changed

+0
-18
lines changed

roles/edpm_deploy/molecule/default/converge.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
- name: Converge
1919
hosts: all
2020
vars:
21-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
2221
cifmw_edpm_deploy_dryrun: true
2322
roles:
2423
- role: "edpm_deploy"

roles/edpm_deploy/molecule/default/prepare.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
- name: Prepare
1919
hosts: all
2020
vars:
21-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
2221
cifmw_install_yamls_tasks_out: "{{ ansible_user_dir }}/zuul-jobs/roles/install_yamls_makes/tasks"
2322
cifmw_install_yamls_defaults:
2423
NAMESPACE: openstack

roles/edpm_deploy_baremetal/molecule/default/prepare.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
- name: Prepare
1919
hosts: all
2020
vars:
21-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
2221
cifmw_basedir: "{{ ansible_user_dir }}/ci-framework-data"
2322
cifmw_install_yamls_tasks_out: "{{ ansible_user_dir }}/zuul-jobs/roles/install_yamls_makes/tasks"
2423
roles:

roles/edpm_prepare/molecule/default/prepare.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
- name: Prepare
1919
hosts: all
2020
vars:
21-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
2221
cifmw_basedir: "{{ ansible_user_dir }}/ci-framework-data"
2322
cifmw_install_yamls_tasks_out: "{{ ansible_user_dir }}/zuul-jobs/roles/install_yamls_makes/tasks"
2423
cifmw_install_yamls_defaults:

roles/install_ca/molecule/default/converge.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
- name: Converge
1919
hosts: all
20-
vars:
21-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
2220
tasks:
2321
- name: Run role without any CA
2422
ansible.builtin.include_role:

roles/install_ca/molecule/default/prepare.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
- name: Prepare
1919
hosts: all
2020
vars:
21-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
2221
cifmw_install_yamls_defaults:
2322
NAMESPACE: openstack
2423
roles:

scenarios/centos-9/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
3-
42
cifmw_openshift_user: "kubeadmin"
53
cifmw_openshift_password: "123456789"
64
cifmw_openshift_kubeconfig: "{{ ansible_user_dir }}/.crc/machines/crc/kubeconfig"

scenarios/centos-9/content_provider.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
32
cifmw_operator_build_push_registry: "{{ cifmw_rp_registry_ip | default('localhost') }}:5001"
43
cifmw_operator_build_push_org: "openstack-k8s-operators"
54
cifmw_operator_build_org: "openstack-k8s-operators"

scenarios/centos-9/edpm_baremetal_deployment_ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
32
cifmw_install_yamls_vars:
43
DEPLOY_DIR: "{{ cifmw_basedir }}/artifacts/edpm_compute" # used during Baremetal deployment
54
BMAAS_INSTANCE_MEMORY: 8192
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
---
2-
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
32
cifmw_edmp_build_images_push_registry: "{{ cifmw_rp_registry_ip | default('localhost') }}:5001"

0 commit comments

Comments
 (0)