Skip to content
Closed
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
2 changes: 1 addition & 1 deletion reproducer-clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
- deepscrub
delegate_to: localhost
ansible.builtin.file:
path: "{{ lookup('env', 'HOME') }}/ci-framework-data/ci-reproducer"
path: "{{ ansible_user_dir }}/ci-framework-data/ci-reproducer"
state: absent

- name: Remove basedir
Expand Down
2 changes: 1 addition & 1 deletion roles/ci_gen_kustomize_values/molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
vars:
cifmw_ci_gen_kustomize_values_src_dir: >-
{{
(lookup('env', 'HOME'),
(ansible_user_dir,
'ci-framework-data',
'artifacts', 'ci_k8s_snippets') | path_join
}}
Expand Down
1 change: 0 additions & 1 deletion roles/cifmw_setup/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
---
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
openstack_namespace: openstack
1 change: 0 additions & 1 deletion roles/rhol_crc/molecule/add_crc_creds/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
hosts: all
gather_facts: true
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_path: "{{ ansible_user_dir }}/.crc/bin:{{ ansible_user_dir }}/.crc/bin/oc:{{ ansible_user_dir }}/bin:{{ ansible_env.PATH }}"
tasks:
- name: Verify crc creds playbook
Expand Down
1 change: 0 additions & 1 deletion roles/rhol_crc/molecule/binary/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- name: Prepare
hosts: all
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_path: "{{ ansible_user_dir }}/.crc/bin:{{ ansible_user_dir }}/.crc/bin/oc:{{ ansible_user_dir }}/bin:{{ ansible_env.PATH }}"
tasks:
- name: Cleanup RHOL/CRC after tests
Expand Down
1 change: 0 additions & 1 deletion roles/rhol_crc/molecule/default/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- name: Prepare
hosts: all
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_path: "{{ ansible_user_dir }}/.crc/bin:{{ ansible_user_dir }}/.crc/bin/oc:{{ ansible_user_dir }}/bin:{{ ansible_env.PATH }}"
tasks:
- name: Cleanup CRC
Expand Down
1 change: 0 additions & 1 deletion roles/rhol_crc/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
hosts: all
gather_facts: true
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_path: "{{ ansible_user_dir }}/.crc/bin:{{ ansible_user_dir }}/.crc/bin/oc:{{ ansible_user_dir }}/bin:{{ ansible_env.PATH }}"
cifmw_manage_secrets_pullsecret_content: >
{"auths":{"fake":{"auth": "Zm9vOmJhcgo="}}}
Expand Down
1 change: 0 additions & 1 deletion roles/rhol_crc/molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- name: Prepare
hosts: all
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_basedir: "{{ ansible_user_dir }}/ci-framework-data"
async_duration: 6000
tasks:
Expand Down
1 change: 0 additions & 1 deletion roles/rhol_crc/molecule/find_crc/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- name: Prepare
hosts: all
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_path: "{{ ansible_user_dir }}/.crc/bin:{{ ansible_user_dir }}/.crc/bin/oc:{{ ansible_user_dir }}/bin:{{ ansible_env.PATH }}"
tasks:
- name: Cleanup RHOL/CRC after tests
Expand Down
1 change: 0 additions & 1 deletion roles/rhol_crc/molecule/get_versions/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- name: Prepare
hosts: all
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_path: "{{ ansible_user_dir }}/.crc/bin:{{ ansible_user_dir }}/.crc/bin/oc:{{ ansible_user_dir }}/bin:{{ ansible_env.PATH }}"
tasks:
- name: Cleanup RHOL/CRC after tests
Expand Down
1 change: 0 additions & 1 deletion roles/rhol_crc/molecule/get_versions/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
hosts: all
gather_facts: true
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_path: "{{ ansible_user_dir }}/.crc/bin:{{ ansible_user_dir }}/.crc/bin/oc:{{ ansible_user_dir }}/bin:{{ ansible_env.PATH }}"
tasks:
- name: Get CRC and openshift versions
Expand Down
Loading