summaryrefslogtreecommitdiffstats
path: root/roles/lib_yaml_editor/build/test/test.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lib_yaml_editor/build/test/test.yaml')
-rwxr-xr-xroles/lib_yaml_editor/build/test/test.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/lib_yaml_editor/build/test/test.yaml b/roles/lib_yaml_editor/build/test/test.yaml
new file mode 100755
index 000000000..ac9c37565
--- /dev/null
+++ b/roles/lib_yaml_editor/build/test/test.yaml
@@ -0,0 +1,15 @@
+#!/usr/bin/ansible-playbook
+---
+- hosts: localhost
+ gather_facts: no
+ tasks:
+ - yedit:
+ src: /home/kwoodson/git/openshift-ansible/roles/lib_yaml_editor/build/test/foo.yml
+ key: foo
+ value: barplus
+ state: present
+ register: output
+
+ - debug:
+ msg: "{{ output }}"
+