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

Use ansible facts for vars #226

Merged
merged 4 commits into from
Jul 1, 2019
Merged

Conversation

joshuatalb
Copy link
Contributor

@joshuatalb joshuatalb commented Jun 30, 2019

This PR is a spin-off of #225 as that PR became slightly bloated and a git command on a new pc barfed, accidentally pushing bad commits.

This PR changes the code to use ansible_facts as per @rndmh3ro's request in #225 and splits the aformentioned PR into smaller pieces, allowing for easier peer review.

Please let me know if you have any comments.

cc: @rndmh3ro

--

This PR also fixes #223.

Signed-off-by: Joshua Talbot <hello+github@jtalb.com>
Signed-off-by: Joshua Talbot <hello+github@jtalb.com>
@rndmh3ro
Copy link
Member

rndmh3ro commented Jul 1, 2019

Hey @joshuatalb,

thanks for ypur PR, looks great! :)

I had to change two things:

  • we forgot one occurence here: e69947a
  • The comparison did not work correctly here: 61ec2ff - that's why I changed it.

@rndmh3ro rndmh3ro merged commit dd0c3cd into dev-sec:master Jul 1, 2019
@rndmh3ro
Copy link
Member

rndmh3ro commented Jul 1, 2019

@joshuatalb
Copy link
Contributor Author

Ah - good spot @rndmh3ro. You have better eyes than I do, clearly! Thanks for merging; will look to try and contribute some more soon when time permits.

divialth pushed a commit to divialth/ansible-collection-hardening that referenced this pull request Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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