summaryrefslogtreecommitdiffstats
path: root/collections-debian-merged/ansible_collections/cyberark/conjur/examples/test.yml
diff options
context:
space:
mode:
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