summaryrefslogtreecommitdiffstats
path: root/roles/lib_yaml_editor/build/test/test.yaml
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2016-03-28 17:44:48 -0400
committerKenny Woodson <kwoodson@redhat.com>2016-03-30 12:19:31 -0400
commit15d730f3aec1f579dbd3cc5310264c68eb78e242 (patch)
treeb32f0efa16101b1f47d70514d7a318c46fe3d76b /roles/lib_yaml_editor/build/test/test.yaml
parente1f6415cbcc4145402011fb4183a5dead2f22124 (diff)
downloadopenshift-15d730f3aec1f579dbd3cc5310264c68eb78e242.tar.gz
openshift-15d730f3aec1f579dbd3cc5310264c68eb78e242.tar.bz2
openshift-15d730f3aec1f579dbd3cc5310264c68eb78e242.tar.xz
openshift-15d730f3aec1f579dbd3cc5310264c68eb78e242.zip
Moving generation of ansible module side by side with module.
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 }}"
+