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 7e54210 commit 74f4c9eCopy full SHA for 74f4c9e
roles/commands/defaults/main.yml
@@ -1,2 +1,3 @@
1
---
2
+cephadm_command: ceph
3
cephadm_commands: []
roles/commands/tasks/main.yml
@@ -1,7 +1,7 @@
- name: Execute custom commands
command:
4
- cmd: "cephadm shell -- ceph {{ item }}"
+ cmd: "cephadm shell -- {{ cephadm_command }} {{ item }}"
5
register: cephadm_commands_result
6
with_items: "{{ cephadm_commands }}"
7
become: true
0 commit comments