This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
user: expires expects float epoch time #4084
Comments
I'm new to Ansible but it seems like there are two options to fix this:
|
@grossws, ping. This issue is still waiting on your response. |
Confirmed behavior in 2.2 via customer. Please escalate. |
@grossws, ping. This issue is still waiting on your response. |
abadger
added a commit
to abadger/ansible
that referenced
this issue
Aug 31, 2016
abadger
added a commit
to ansible/ansible
that referenced
this issue
Aug 31, 2016
abadger
added a commit
to ansible/ansible
that referenced
this issue
Aug 31, 2016
This should be fixed via ansible/ansible#17325 Merged to devel and the stable-2.1 branch. I believe the plan is to have a 2.1.2rc2 later today so this fix should be included there. |
sereinity
pushed a commit
to sereinity-forks/ansible
that referenced
this issue
Jan 25, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ISSUE TYPE
COMPONENT NAME
user module
ANSIBLE VERSION
CONFIGURATION
inventory = /var/local/ansible/hosts
roles_path = /var/local/ansible/roles
log_path = /home/ansible/ansible.log
OS / ENVIRONMENT
CentOS Linux release 7.0.1406 (Core)
SUMMARY
When adding a user, with the
expires
option, specifying epoch time as an int throws an error.results in:
"argument expires is of type <type 'int'> and we were unable to convert to float"
It works when changed to:
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: