-
Notifications
You must be signed in to change notification settings - Fork 164
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
Added location role #1623
Added location role #1623
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Alan! And sorry it took so long to get this reviewed!
Overall, this looks good. I posted two comments inline, but nothing major.
One thing that is missing right now are tests. Given our test suite is a bit involved, I can understand if you say that you'd prefer not to touch even more things right now (and would offer you to just do the tests for you), or, if you want of course, you could try to write tests and I'll help you getting there? Absolutely up to you.
roles/locations/README.md
Outdated
theforeman.foreman.locations | ||
=================================== | ||
|
||
This role creates and manages Satellite locations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This role creates and manages Satellite locations. | |
This role creates and manages Foreman locations. |
(the branding happens automatically, here we keep the Foreman name)
I have made the requested changes, and added the test playbook named locations_role.yml. Please review! |
Added a location role which loops through a list of locations foreman_locations and creates them on Satellite server using the foreman location module.