a7170da851
The luseradd / lusermod commands do not support the -e option. Set the expiry time in this case via lchage after the user was created / modified. Fixes: #71942 In Python3 math.floor returns an integer whereas Python2 returns a float. Hence always convert the result of math.floor to an int to ensure that lexpires is an integer. Move local expires tests in a separate file and import the tasks to the main.yml to keep main.yml smaller.
5 lines
303 B
YAML
5 lines
303 B
YAML
bugfixes:
|
|
- >
|
|
user - Local users with an expiry date cannot be created as the ``luseradd`` /
|
|
``lusermod`` commands do not support the ``-e`` option. Set the expiry time in
|
|
this case via ``lchage`` after the user was created / modified. (https://github.com/ansible/ansible/issues/71942)
|