summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cyberark/conjur/examples/test.yml
blob: 9f9ad15adf63272cb047599e0473be0ac726b093 (plain)
1
2
3
4
5
6
7
8
9
10
11
---
  - 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) }}"