accounts: create only users who have a certain value for the create
key (default: always
)
This commit is contained in:
parent
a66e1c1ee9
commit
a0139688c6
|
@ -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
|
* post-install: add the pf_states check by default in generateldif.sh script
|
||||||
* nagios-nrpe: allow older cipher suites for older Icinga version
|
* nagios-nrpe: allow older cipher suites for older Icinga version
|
||||||
* evobackup: execute canary script before executing backup script
|
* evobackup: execute canary script before executing backup script
|
||||||
|
* accounts: create only users who have a certain value for the `create` key (default: `always`)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
---
|
---
|
||||||
evobsd_root_login: "no"
|
evobsd_root_login: "no"
|
||||||
|
|
||||||
|
# Defines which groups of users are created
|
||||||
|
evobsd_users_create: "always"
|
||||||
|
|
|
@ -17,7 +17,9 @@
|
||||||
vars:
|
vars:
|
||||||
user: "{{ item.value }}"
|
user: "{{ item.value }}"
|
||||||
with_dict: "{{ evolix_users }}"
|
with_dict: "{{ evolix_users }}"
|
||||||
when: evolix_users != {}
|
when:
|
||||||
|
- user.create == evobsd_users_create
|
||||||
|
- evolix_users != {}
|
||||||
tags:
|
tags:
|
||||||
- accounts
|
- accounts
|
||||||
- admin
|
- admin
|
||||||
|
|
Loading…
Reference in a new issue