docs(gpg_secretstore): fix fqcn in lookup module examples

This commit is contained in:
Jan Christian Grünhage 2023-10-04 15:08:30 +02:00
parent c4d77fd27a
commit a431011ae7
No known key found for this signature in database
GPG key ID: EEC1170CE56FA2ED

View file

@ -39,19 +39,19 @@ EXAMPLES = r"""
debug: debug:
var: mypassword var: mypassword
vars: vars:
mypassword: "{{ lookup('famedly.local.gpg_secretstore', 'example')}}" mypassword: "{{ lookup('famedly.base.gpg_secretstore', 'example')}}"
- name: lookup password and parse yaml - name: lookup password and parse yaml
debug: debug:
var: mypassword var: mypassword
vars: vars:
mypassword: "{{ lookup('famedly.local.gpg_secretstore', 'example/yaml', 'data_type=yaml')}}" mypassword: "{{ lookup('famedly.base.gpg_secretstore', 'example/yaml', 'data_type=yaml')}}"
- name: lookup password from non-default password-store location - name: lookup password from non-default password-store location
debug: debug:
var: mypassword var: mypassword
vars: vars:
mypassword: "{{ lookup('famedly.local.gpg_secretstore', 'example/temporary', 'password_store_path=/tmp/temporary-store')}}" mypassword: "{{ lookup('famedly.base.gpg_secretstore', 'example/temporary', 'password_store_path=/tmp/temporary-store')}}"
""" """
RETURN = r""" RETURN = r"""