docs(role): Document example tasks output

This commit is contained in:
hygienic-books 2022-07-24 03:07:25 +02:00
parent 65d8112b0d
commit 6560212d81

View File

@ -26,3 +26,32 @@ In your `playbook.yml` call it like so:
roles:
- 'role_common_local-os-password'
```
# Output
Ansible tasks is for example:
```
...
TASK [role_common_local-os-password : Get secrets] *************************************************
ok: [fully.qualified.domain.name] => (item=None)
ok: [fully.qualified.domain.name] => (item=None)
ok: [fully.qualified.domain.name]
TASK [role_include_vault-check : If a secret is missing: Fail progress] ****************************
ok: [fully.qualified.domain.name] => (item=password) => {
"msg": "Vault has secret 'password' at 'name/domain/qualified/fully/os/root'"
}
ok: [fully.qualified.domain.name] => (item=password_salt) => {
"msg": "Vault has secret 'password_salt' at 'name/domain/qualified/fully/os/root'"
}
TASK [role_common_local-os-password : Set fact: New OS local account password] *********************
ok: [fully.qualified.domain.name]
TASK [role_common_local-os-password : Set local OS account password] *******************************
ok: [fully.qualified.domain.name]
...
```