Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
viczem committed Aug 20, 2022
1 parent ae19f7c commit c622672
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,18 @@ Use `ansible-vault encrypt_string` to encrypt it and use it like below
$ANSIBLE_VAULT;1.1;AES256
...encrypted password...

### Example
### Examples

More examples see in [/docs/examples](/docs/examples).

#### Lookup

ansible_user : "{{ lookup('viczem.keepass.keepass', 'path/to/entry', 'username') }}"
ansible_become_pass : "{{ lookup('viczem.keepass.keepass', 'path/to/entry', 'password') }}"
custom_field : "{{ lookup('viczem.keepass.keepass', 'path/to/entry', 'custom_properties', 'a_custom_property_name') }}"
attachment : "{{ lookup('viczem.keepass.keepass', 'path/to/entry', 'attachments', 'a_file_name') }}"


#### Module
- name: "Export file: attachment.txt"
viczem.keepass.attachment:
database: "{{ keepass_dbx }}"
Expand All @@ -55,8 +60,6 @@ Use `ansible-vault encrypt_string` to encrypt it and use it like below
attachment: "attachment.txt"
dest: "{{ keepass_attachment_1_name }}"

More examples see in [/docs/examples](/docs/examples).

## Contributing

See docs/contributing.
See [/docs/contributing](docs/contributing).

0 comments on commit c622672

Please sign in to comment.