Add task for issuing Karaf shell commands 84/57484/1
authorDaniel Farrell <dfarrell@redhat.com>
Wed, 27 May 2015 17:39:50 +0000 (13:39 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 19 May 2017 16:52:23 +0000 (12:52 -0400)
Include this task in a playbook and set the karaf_cmd
var appropriately to issue ad hoc Karaf shell commands.

Closes #12, relevant to #10 and #7.

Change-Id: I1b9112c96eae180b4a230a8e5d32b47dac94d05c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
tasks/karaf_shell_cmd.yml [new file with mode: 0644]

diff --git a/tasks/karaf_shell_cmd.yml b/tasks/karaf_shell_cmd.yml
new file mode 100644 (file)
index 0000000..b0d8283
--- /dev/null
@@ -0,0 +1,3 @@
+- name: "Issue Karaf shell command: {{ karaf_cmd }}"
+  command: /opt/opendaylight/bin/client {{ karaf_cmd }}
+  ignore_errors: True