Skip to content

Commit 74f4c9e

Browse files
committed
Enable override of ceph command
Signed-off-by: Piers Harding <[email protected]>
1 parent 7e54210 commit 74f4c9e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

roles/commands/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
---
2+
cephadm_command: ceph
23
cephadm_commands: []

roles/commands/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- name: Execute custom commands
33
command:
4-
cmd: "cephadm shell -- ceph {{ item }}"
4+
cmd: "cephadm shell -- {{ cephadm_command }} {{ item }}"
55
register: cephadm_commands_result
66
with_items: "{{ cephadm_commands }}"
77
become: true

0 commit comments

Comments
 (0)