vn-ansible/playbooks/passbolt.yml

20 lines
488 B
YAML

- name: Fetch or create passbolt password
hosts: all
gather_facts: no
tasks:
- debug:
msg: >
{{
lookup(passbolt, 'test',
username='root',
password=pb_password,
folder_parent_id=pb_folder
)
}}
vars:
pb_password: 'S3cR3tP4$$w0rd'
environment:
PASSBOLT_CREATE_NEW_RESOURCE: true
PASSBOLT_NEW_RESOURCE_PASSWORD_LENGTH: 18
PASSBOLT_NEW_RESOURCE_PASSWORD_SPECIAL_CHARS: false