Commit Graph
7 Commits
Author SHA1 Message Date
volker.raschekandCopilot f665e0044a refactor: use the yml extension for every yaml file
Lint Markdown files / markdown-lint (push) Successful in 6s
Ansible Linter / ansible-lint (push) Canceled after 1h1m39s
Molecule / Molecule (push) Successful in 6m18s
The repository mixed both extensions, the molecule scenario used yml while the role itself used yaml. The yml
extension is the one ansible-galaxy and molecule generate and the one the sibling roles use, so it is applied
throughout.

The first_found lookups in tasks/main.yml name the candidate files explicitly and were adjusted accordingly, otherwise
the role would no longer find its distribution variables and its verification tasks.

Co-authored-by: Copilot <copilot@github.com>
2026-09-10 21:57:15 +02:00
volker.raschekandCopilot c3f714a7c6 fix(tasks)!: stop flushing /etc/sudoers.d
Recreating /etc/sudoers.d on every run deleted every drop-in file on the host, not only the ones managed by this role.
That removes files shipped by packages or other tooling, such as 90-cloud-init-users on cloud instances, which can lock
out the remaining login paths. The task also reported changed on every run and therefore made check mode and CI runs
useless for detecting real drift.

The directory is now only ensured with its owner, group and permissions. To keep entries removable, each item of
sudo_users_sudoers accepts an optional state, which is passed to community.general.sudoers and defaults to present.

BREAKING CHANGE: Entries dropped from sudo_users_sudoers are no longer deleted implicitly. Set state: absent on the
entry to remove its drop-in file.

Co-authored-by: Copilot <copilot@github.com>
2026-09-10 21:41:34 +02:00
volker.raschek 6469d81fcf fix: rename files to .yaml
Ansible Linter / ansible-lint (push) Failing after 17s
Lint Markdown files / markdown-lint (push) Successful in 4s
2025-11-23 16:19:51 +01:00
volker.raschek f74836f533 fix: value must be stored as a dictionary/hash
Lint Markdown files / markdown-lint (push) Successful in 1m16s
Ansible Linter / ansible-lint (push) Successful in 1m27s
2025-04-21 22:38:42 +02:00
volker.raschek a07d698f3c fix(linter): get running
Ansible Linter / ansible-lint (push) Failing after 46s
Lint Markdown files / markdown-lint (push) Successful in 11s
2025-04-14 22:47:03 +02:00
volker.raschek 51bf2a08cf fix: specify further sudoes settings
continuous-integration/drone/push Build is passing
2023-02-16 15:12:03 +01:00
volker.raschek db475e68d0 Initial Commit
continuous-integration/drone/push Build is passing
2022-05-10 13:40:31 +02:00