Skip to content

Commit 95aa63d

Browse files
Merge pull request #1038 from slagle/OSPRH-20382
Check for ansible_local.bootc not just ansible_local
2 parents a5cf980 + 6033421 commit 95aa63d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

roles/edpm_update/tasks/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242
ansible.builtin.import_role:
4343
name: osp.edpm.edpm_update_system
4444
tasks_from: bootc.yml
45-
when: ansible_local is defined and ansible_local.bootc
45+
when:
46+
- ansible_local.bootc is defined
47+
- ansible_local.bootc
4648

4749
- name: Update containers
4850
ansible.builtin.include_tasks: containers.yml

roles/edpm_update_system/tasks/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@
3737

3838
- name: Update OS (bootc)
3939
ansible.builtin.include_tasks: bootc.yml
40-
when: ansible_local is defined and ansible_local.bootc
40+
when:
41+
- ansible_local.bootc is defined
42+
- ansible_local.bootc

0 commit comments

Comments
 (0)