-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task "create admin user groups" fails #6
Comments
Can you see which version of Jinja2 you have installed? I'd added a change in f6acd66 that requires creating a custom filter for older versions of Jinja2. It would also be helpful to see an example of your |
Thanks for the fast reply!
|
thanks to this I have How to downgrade jinja/get around it without downgrading? Thanks! |
The indention looks off on the list of admin users you pasted, but that may just be an issue with copying/pasting into GitHub. If you want to set Jinja2 version 2.10 is actually preferred, since it doesn't use the any of the backported code included in the role. |
Hey sorry it took me a while, I moved them as you suggested and I do have Jinja 2.10, also upgraded your role to 0.7.2, now the errors are
and yes the indentation was off only because of github copypaste. Any advice? Thank you very much! |
Hello, I am new to Ansible so forgive if I lack info that you may need
The role fails at the create admin user groups with the message
'unicode object' has no attribute 'username'
, I tried also to useadmin_user_groups: false
in the hope that the task would be skipped or something, but to no avail.The target machines are 2x Ubuntu 16.04, 1x Debian 9, 1x ArchLinux (and one linux mint, but I know it is not supported)
ansible 2.4.3.0 on MacOS 10.12.6, role version latest 0.7.1
Let me know if you need more info or if I just did a n00b mistake, google didn't help me much!
The text was updated successfully, but these errors were encountered: