Skip to content

Commit

Permalink
Merge pull request adfinis#53 from adfinis/docs_skipped_tasks
Browse files Browse the repository at this point in the history
docs(readme): add task output explaination
  • Loading branch information
Daenou authored Dec 29, 2023
2 parents 228133c + 16f54fb commit 2bf946d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ debian01.example.org
- [x] 10-040: Security: User: Are all created users documented in the wiki with password?
- [ ] 10-041: Security: Logins: Are there logins from suspicious hosts/users?
- [ ] 10-042: Security: SSH keys: Check for unknown or outdated keys for root and all users
- [x] 10-050: Mail: serverlogs: Is serverlogs@ entered in /etc/aliases for root?
- [x] 10-051: Mail: aliases.db: Make sure /etc/aliases.db is up to date
- [~] 10-050: Mail: serverlogs: Is serverlogs@ entered in /etc/aliases for root?
- [~] 10-051: Mail: aliases.db: Make sure /etc/aliases.db is up to date
- [x] 11-011: Security: Are the security updates in the sources.list?
- [x] 11-012: Repository: Check if repository is set to release name (e.g. 'bullseye') and not to 'stable'
- [x] 11-013: For old distributions, has the repository been moved to http://archive.debian.org/ already?
Expand All @@ -136,6 +136,13 @@ debian01.example.org
With the ansible.cfg settings above, tasks that completed with the status `ok` or `skipped` won't be displayed, instead only `changed` tasks are shown, getting you a clear report on that you should look at.

The content of the checkboxes has the following meaning:
```
- [x] ok - nothing to do
- [~] skipped - task skipped as configured. Check if it's still reasonable to skip this task
- [ ] changed or failed - See output on what to do
```

If you want more detailed output, execute the playbook with the `--diff` option, example output:
```
TASK [adfinis.maintenance.maintenance_10_linux : 10-042: Security: SSH keys: Check for unknown or outdated keys for root and all users] ****************************************************************************************************************************************************
Expand Down

0 comments on commit 2bf946d

Please sign in to comment.