accounts: create only users who have a certain value for the create
key (default: always
)
This commit is contained in:
parent
a66e1c1ee9
commit
a0139688c6
3 changed files with 7 additions and 1 deletions
|
@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
* post-install: add the pf_states check by default in generateldif.sh script
|
||||
* nagios-nrpe: allow older cipher suites for older Icinga version
|
||||
* evobackup: execute canary script before executing backup script
|
||||
* accounts: create only users who have a certain value for the `create` key (default: `always`)
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
---
|
||||
evobsd_root_login: "no"
|
||||
|
||||
# Defines which groups of users are created
|
||||
evobsd_users_create: "always"
|
||||
|
|
|
@ -17,7 +17,9 @@
|
|||
vars:
|
||||
user: "{{ item.value }}"
|
||||
with_dict: "{{ evolix_users }}"
|
||||
when: evolix_users != {}
|
||||
when:
|
||||
- user.create == evobsd_users_create
|
||||
- evolix_users != {}
|
||||
tags:
|
||||
- accounts
|
||||
- admin
|
||||
|
|
Loading…
Reference in a new issue