Skip to content
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

Running ansible on python3 throughs "TypeError: '<=' not supported between instances of 'str' and 'int'" #223

Closed
justengland opened this issue Jun 3, 2019 · 1 comment · Fixed by #226
Labels

Comments

@justengland
Copy link

justengland commented Jun 3, 2019

Describe the bug
Cannot run under python3, TypeError: '<=' not supported between instances of 'str' and 'int' on pam.yml line 70

Expected behavior
It should work

Actual behavior

TypeError: '<=' not supported between instances of 'str' and 'int' on pam.yml line 70

Example Playbook

- hosts: web
  roles:
    - dev-sec.os-hardening

OS / Environment

Ansible Version

2.8

Role Version

latest

Additional context
Add any other context about the problem here.

Dockerfile used to execute the ansible command
https://gist.github.com/justengland/4608e18cf2058e3e71fde266d84776b0

@rndmh3ro rndmh3ro added the bug label Jun 5, 2019
@joshuatalb
Copy link
Contributor

@justengland - thanks for raising. I also bumped into the same issue you're having with this. I've raised a PR - #226 - as a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants