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
1 change: 0 additions & 1 deletion roles/build_containers/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/"
roles:
- role: test_deps
Expand Down
1 change: 0 additions & 1 deletion roles/build_containers/molecule/hotfix/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/"
roles:
- role: test_deps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- name: Converge
hosts: all
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_basedir: "{{ cifmw_project_dir_absolute }}"
cifmw_bop_openstack_release: master
cifmw_bop_dlrn_baseurl: https://trunk.rdoproject.org/centos9-master
Expand Down
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: "{{ cifmw_project_dir_absolute }}"
roles:
- role: test_deps
Expand Down
6 changes: 3 additions & 3 deletions roles/cert_manager/tasks/validate_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

- name: Create $HOME/bin dir
ansible.builtin.file:
path: "{{ lookup('env', 'HOME') }}/bin"
path: "{{ ansible_user_dir }}/bin"
state: directory
mode: '0755'

Expand All @@ -30,11 +30,11 @@
_arch: "{{ lookup('pipe', 'go env GOARCH') }}"
ansible.builtin.get_url:
url: "https://github.com/cert-manager/cmctl/releases/{{ cifmw_cert_manager_version }}/download/cmctl_{{ _os }}_{{ _arch }}"
dest: "{{ lookup('env', 'HOME') }}/bin/cmctl"
dest: "{{ ansible_user_dir }}/bin/cmctl"
mode: "0755"

- name: Verify cert_manager api
environment:
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
PATH: "{{ cifmw_path }}"
ansible.builtin.command: "{{ lookup('env', 'HOME') }}/bin/cmctl check api --wait=2m"
ansible.builtin.command: "{{ ansible_user_dir }}/bin/cmctl check api --wait=2m"
1 change: 0 additions & 1 deletion roles/devscripts/molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
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 }}"
cifmw_use_libvirt: true

Expand Down
1 change: 0 additions & 1 deletion roles/edpm_build_images/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- name: Converge
hosts: all
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_edpm_build_images_dry_run: true
cifmw_edpm_build_images_via_rpm: false
roles:
Expand Down
1 change: 0 additions & 1 deletion roles/hci_prepare/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
- name: Converge
hosts: all
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
cifmw_basedir: "{{ ansible_user_dir }}/ci-framework-data"
cifmw_path: "/path/to/bin"
cifmw_openshift_kubeconfig: "path/to/kubeconfig"
Expand Down
1 change: 0 additions & 1 deletion roles/hive/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
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 }}"
cifmw_hive_artifacts_dir: "{{ ansible_user_dir }}/ci-framework-data"
cifmw_hive_kubeconfig: test_path
Expand Down
1 change: 0 additions & 1 deletion roles/hive/molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
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 }}"

roles:
Expand Down
3 changes: 1 addition & 2 deletions roles/reproducer/tasks/parse_cifmw_job_uri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
- name: Extract job id for later reference
vars:
user_dir: "{{ lookup('env', 'HOME') }}"
basedir: "{{ user_dir ~ '/ci-framework-data' }}"
basedir: "{{ ansible_user_dir ~ '/ci-framework-data' }}"
job_id: "{{ _matched_url| basename }}"
ansible.builtin.set_fact:
cacheable: true
Expand Down
2 changes: 0 additions & 2 deletions roles/run_hook/molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

- name: Prepare
hosts: all
vars:
ansible_user_dir: "{{ lookup('env', 'HOME') }}"
tasks:
- name: Create dummy env file
ansible.builtin.copy:
Expand Down
Loading