Skip to content

Commit a131a74

Browse files
committed
Remove printing redhat-release in adoption_osp_deploy
The task should iterate on list of hosts, which should be provided later as "_vm" variable. That was missing, so the Ansible was failing because of undefined variable. Printing the redhat-release should be added into pre-run config after registration, but in this kind of CI jobs we did not spotted any issues now. Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
1 parent afcf42b commit a131a74

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

roles/adoption_osp_deploy/tasks/prepare_overcloud.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,6 @@
121121
loop_var: _vm
122122
pause: 1
123123

124-
- name: Get current /etc/redhat-release
125-
delegate_to: "{{ _vm }}"
126-
ansible.builtin.command: cat /etc/redhat-release
127-
register: _current_rh_release
128-
129-
- name: Print current /etc/redhat-release
130-
ansible.builtin.debug:
131-
msg: "{{ _current_rh_release.stdout }}"
132-
133124
- name: Copy network data file if it's not a template
134125
when: _network_data_extension != '.j2'
135126
delegate_to: "osp-undercloud-0"

0 commit comments

Comments
 (0)