Skip to content

Commit 85c4c8a

Browse files
authored
Merge pull request #485 from stackhpc/cephadm-commands-defaults
Add defaults for cephadm_commands_{pre,post}
2 parents d83e33c + 6e6c9c4 commit 85c4c8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etc/kayobe/ansible/cephadm-commands-post.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
- import_role:
1111
name: stackhpc.cephadm.commands
1212
vars:
13-
cephadm_commands: "{{ cephadm_commands_post }}"
13+
cephadm_commands: "{{ cephadm_commands_post | default([]) }}"

etc/kayobe/ansible/cephadm-commands-pre.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
- import_role:
1111
name: stackhpc.cephadm.commands
1212
vars:
13-
cephadm_commands: "{{ cephadm_commands_pre }}"
13+
cephadm_commands: "{{ cephadm_commands_pre | default([]) }}"

0 commit comments

Comments
 (0)