summaryrefslogtreecommitdiffstats
path: root/collections-debian-merged/ansible_collections/cyberark/conjur/examples/test.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:03:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:03:01 +0000
commita453ac31f3428614cceb99027f8efbdb9258a40b (patch)
treef61f87408f32a8511cbd91799f9cececb53e0374 /collections-debian-merged/ansible_collections/cyberark/conjur/examples/test.yml
parentInitial commit. (diff)
downloadansible-a453ac31f3428614cceb99027f8efbdb9258a40b.tar.xz
ansible-a453ac31f3428614cceb99027f8efbdb9258a40b.zip
Adding upstream version 2.10.7+merged+base+2.10.8+dfsg.upstream/2.10.7+merged+base+2.10.8+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collections-debian-merged/ansible_collections/cyberark/conjur/examples/test.yml')
-rw-r--r--collections-debian-merged/ansible_collections/cyberark/conjur/examples/test.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/collections-debian-merged/ansible_collections/cyberark/conjur/examples/test.yml b/collections-debian-merged/ansible_collections/cyberark/conjur/examples/test.yml
new file mode 100644
index 00000000..c9afa1bf
--- /dev/null
+++ b/collections-debian-merged/ansible_collections/cyberark/conjur/examples/test.yml
@@ -0,0 +1,13 @@
+---
+ - hosts: localhost
+
+ tasks:
+
+ - name: Lookup variable in Conjur
+ debug:
+ msg: "{{ lookup('cyberark.conjur.conjur_variable', '/path/to/secret') }}"
+
+ - name: Lookup variable in Conjur to not validate certs (in case of self-signed)
+ debug:
+ msg: "{{ lookup('cyberark.conjur.conjur_variable', '/path/to/secret', validate_certs=false) }}"
+ \ No newline at end of file