main #31

Merged
juan merged 154 commits from main into lab 2024-10-16 15:22:43 +00:00
2 changed files with 15 additions and 7 deletions
Showing only changes of commit 1b7506d647 - Show all commits

8
.passbolt.tpl.yml Normal file
View File

@ -0,0 +1,8 @@
PASSBOLT_BASE_URL: https://passbolt.domain.local/
PASSBOLT_PASSPHRASE: "S3cr3tP4$$w0rd"
PASSBOLT_PRIVATE_KEY: |
-----BEGIN PGP PRIVATE KEY BLOCK-----
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-----END PGP PRIVATE KEY BLOCK-----

View File

@ -55,6 +55,13 @@ When running playbooks that use any of the keystores mentioned above, the
*run-playbook.sh* script can be used, it is an ovelay over the original *run-playbook.sh* script can be used, it is an ovelay over the original
*ansible-playbook* command which injects the necessary parameters. *ansible-playbook* command which injects the necessary parameters.
### Passbolt
Add the necessary environment variables to the *.passbolt.yml* file, the
template file *.passbolt.tpl.yml* is included as a reference:
* https://galaxy.ansible.com/ui/repo/published/anatomicjc/passbolt/docs/
### Ansible vault ### Ansible vault
To manage Ansible vault place the encryption password into *.vault-pass* file. To manage Ansible vault place the encryption password into *.vault-pass* file.
@ -64,16 +71,9 @@ Manage the vault.
ansible-vault {view,edit,create} --vault-pass-file .vault-pass .vault.yml ansible-vault {view,edit,create} --vault-pass-file .vault-pass .vault.yml
``` ```
> [!CAUTION]
> The files used for the vault must only be used locally and > The files used for the vault must only be used locally and
> under **no** circumstances can they be uploaded to the repository. > under **no** circumstances can they be uploaded to the repository.
### Passbolt
Add the necessary environment variables to the *.passbolt.yml* file:
* https://galaxy.ansible.com/ui/repo/published/anatomicjc/passbolt/docs/
## Build execution environment for AWX ## Build execution environment for AWX
Create an image with *ansible-builder* and upload it to registry. Create an image with *ansible-builder* and upload it to registry.