Comments (5)
Same here. @dobrozhanskyi got this using python2.
With python3.5.2, I get this kind of error:
TASK [ansible-sudoers : Ensure the sudoers file is valid and up to date (separate specs)] ***************************
fatal: [preprod.iwd.fr]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'"}
I tried with different versions of ansible from 2.3 to 2.5 with the same results. Do you guys have any idea?
Note that all was fine with ansible 2.4.2.
from ansible-sudoers.
There is issue for this in Ansible:
ansible/ansible#37890
from ansible-sudoers.
I am now running into this, on Ansible 2.5.0
from ansible-sudoers.
You can uptdate your ansible version the slice bug is fixed in version 2.5.2 ansible/ansible#37944 (its work for me)
from ansible-sudoers.
Fixed with Ansible 2.5.2. Thanks for validating @sebPomme and mentioning the Ansible core issue @kuch4r . Appreciate it. 🥇
from ansible-sudoers.
Related Issues (19)
- Last merged PR erase previous change HOT 2
- "--check"-mode run fails due to undefined existing_sudoer_spec_list
- Role fails with "AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'" HOT 2
- Role nuked my /etc/sudoers.d, yet doco states it shouldn't have HOT 1
- "--check"-mode run fails due to undefined sudoers_includes_separate_specs.stdout HOT 1
- "Ensure the sudoers file is valid and up to date (specs all in one)" fails when using become HOT 6
- Error while running playbook
- Defining roles in different files HOT 3
- sudoer_remove_unauthorized_specs should default to False
- command and user aliases are not created inside sudoers.d HOT 1
- Builds fail in Travis, and we should move the testing to molecule
- Feature request - Would love to do this in reverse HOT 3
- ownership of local backup directory
- explicit 'become: False' in task 'Ensure local backup directory exists' HOT 9
- Provide dependencies information
- Any plan to publish collection?
- Error 'NoneType' object is not iterable with minimal role parameters HOT 11
- Semantic versioning HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-sudoers.