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

[foreman-ansible-plugin] assign ansible roles to hostgroups #1123

Closed
fgoebel opened this issue Jan 7, 2021 · 1 comment · Fixed by #1174
Closed

[foreman-ansible-plugin] assign ansible roles to hostgroups #1123

fgoebel opened this issue Jan 7, 2021 · 1 comment · Fixed by #1174

Comments

@fgoebel
Copy link

fgoebel commented Jan 7, 2021

SUMMARY

I am about to create our hostgroups via these ansible-modules, but I can not find any way to assign ansible-roles to hostgroups/hosts.
Searching around in community.foreman.com i found this question https://community.theforeman.org/t/no-api-available-for-attaching-ansible-roles-with-a-hostgroup-in-foreman-v2-1/21550
Unfortunately I have no experience with ruby-programming at all..

Maybe there are more plugin-features which would be nice to control via ansible, but this is what caught my eye.

Edit: In the first implementation there will be support for hostgroups. A new issue for hosts can be found at #1181 .

ISSUE TYPE
  • Feature Idea
  • Question
mdellweg added a commit to mdellweg/foreman-ansible-modules that referenced this issue Mar 16, 2021
mdellweg added a commit to mdellweg/foreman-ansible-modules that referenced this issue Mar 16, 2021
mdellweg added a commit to mdellweg/foreman-ansible-modules that referenced this issue Mar 16, 2021
mdellweg added a commit to mdellweg/foreman-ansible-modules that referenced this issue Mar 16, 2021
@mdellweg mdellweg linked a pull request Mar 16, 2021 that will close this issue
mdellweg added a commit to mdellweg/foreman-ansible-modules that referenced this issue Mar 16, 2021
mdellweg added a commit to mdellweg/foreman-ansible-modules that referenced this issue Mar 18, 2021
@mdellweg mdellweg changed the title [foreman-ansible-plugin] assign ansible roles to hostgroups/hosts [foreman-ansible-plugin] assign ansible roles to hostgroups Mar 22, 2021
mdellweg added a commit to mdellweg/foreman-ansible-modules that referenced this issue Mar 22, 2021
fixes theforeman#1123

Co-authored-by: Evgeni Golov <evgeni@golov.de>
mdellweg added a commit that referenced this issue Mar 22, 2021
fixes #1123

Co-authored-by: Evgeni Golov <evgeni@golov.de>
@fgoebel
Copy link
Author

fgoebel commented Jun 30, 2021

Hey there,
I am about to implement some new hostgroup creation in Ansible and only then noticed that this got implemented already!

I just want to say "Thank you very much", better late than never

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

Successfully merging a pull request may close this issue.

2 participants