Skip to content

Commit e11ce21

Browse files
evallespfultonj
authored andcommitted
feat(/home/zuul): Replace /home/zuulpath Root and playbooks files
We're moving /home/zuul hardcoded paths from root-level files and ocurrences in files at playbook folder.
1 parent cf92173 commit e11ce21

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

create-infra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@
149149
name: sushy_emulator
150150
tasks_from: verify.yml
151151

152-
- name: Set permissions on /home/zuul/ci-framework-data on controller-0
152+
- name: Set permissions on ci-framework-data folder on controller-0
153153
ansible.builtin.file:
154-
path: "{{ cifmw_basedir | default('/home/zuul/ci-framework-data') }}"
154+
path: "{{ cifmw_basedir | default(ansible_user_dir + '/ci-framework-data') }}"
155155
state: directory
156156
recurse: true
157157
owner: "{{ ansible_user_id }}"

deploy-edpm-reuse.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
when: cifmw_cleanup_architecture | default(true) | bool
3333
delegate_to: controller-0
3434
ansible.builtin.command:
35-
cmd: "/home/zuul/cleanup-architecture.sh"
35+
cmd: "$HOME/cleanup-architecture.sh"
3636

3737
- name: Inherit from parent scenarios if needed
3838
ansible.builtin.include_tasks:
@@ -114,7 +114,7 @@
114114
poll: 20
115115
delegate_to: controller-0
116116
ansible.builtin.command:
117-
cmd: "/home/zuul/deploy-architecture.sh {{ cifmw_deploy_architecture_args | default('') }}"
117+
cmd: "$HOME/deploy-architecture.sh {{ cifmw_deploy_architecture_args | default('') }}"
118118

119119
- name: Run post deployment if instructed to
120120
when:
@@ -124,4 +124,4 @@
124124
poll: 20
125125
delegate_to: controller-0
126126
ansible.builtin.command:
127-
cmd: "/home/zuul/post_deployment.sh {{ cifmw_post_deploy_args | default('') }}"
127+
cmd: "$HOME/post_deployment.sh {{ cifmw_post_deploy_args | default('') }}"

playbooks/dcn.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
- name: Copy found CR files to the manifests folder
148148
ansible.builtin.copy:
149149
src: "{{ item.path }}"
150-
dest: "/home/zuul/ci-framework-data/artifacts/manifests/openstack/cr"
150+
dest: "{{ ansible_user_dir }}/ci-framework-data/artifacts/manifests/openstack/cr"
151151
mode: "0644"
152152
loop: "{{ dcn_crs.files }}"
153153
when: dcn_crs.matched > 0

reproducer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
poll: 20
103103
delegate_to: controller-0
104104
ansible.builtin.command:
105-
cmd: "/home/zuul/deploy-architecture.sh {{ cifmw_deploy_architecture_args | default('') }}"
105+
cmd: "$HOME/deploy-architecture.sh {{ cifmw_deploy_architecture_args | default('') }}"
106106

107107
- name: Run post deployment if instructed to
108108
when:
@@ -113,4 +113,4 @@
113113
poll: 20
114114
delegate_to: controller-0
115115
ansible.builtin.command:
116-
cmd: "/home/zuul/post_deployment.sh {{ cifmw_post_deploy_args | default('') }}"
116+
cmd: "$HOME/post_deployment.sh {{ cifmw_post_deploy_args | default('') }}"

0 commit comments

Comments
 (0)