We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a3d57b commit 7619f76Copy full SHA for 7619f76
changelogs/fragments/patch_download.yml
@@ -0,0 +1,3 @@
1
+---
2
+trivial:
3
+ - "orasw_download_patches: assert oracle_sw_patches ()"
roles/orasw_download_patches/tasks/main.yml
@@ -12,6 +12,20 @@
12
- oracle_sw_source_local is defined
13
quiet: true
14
15
+ - name: Check attributes in oracle_sw_patches
16
+ ansible.builtin.assert:
17
+ quiet: true
18
+ that:
19
+ - osp.filename is defined
20
+ - osp.patchid is defined
21
+ - osp.version is defined
22
+ - osp.description is defined
23
+ with_items:
24
+ - "{{ oracle_sw_patches }}"
25
+ loop_control:
26
+ loop_var: osp
27
+ label: "{{ osp.filename | default('') }}"
28
+
29
- name: Ensure destination directory exists
30
ansible.builtin.file:
31
path: "{{ oracle_patch_download_dir }}"
0 commit comments