-
Notifications
You must be signed in to change notification settings - Fork 169
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
New host parameters don't get added in foreman inventory source #1743
Comments
The scenario: Following the guide for integrating foreman with AWX/Tower I created a non-admin user
The problem is that To be able to see the parameters the lowest role that I could found was Perhaps there could be a hint in the documentation because seeing the parameters it's a nice way to customize the ansible inventory and use foreman as a single source of truth. https://docs.theforeman.org/nightly/Configuring_Ansible/index-foreman-el.html# Hope this saves somebody a little bit of time. |
So you're saying the inventory code works fine, but the default role doesn't have sufficient permissions? That sounds like a bug in that role we should address. |
Yes. |
The role comes from the If you don't have an account there, shout, and I'll forward it myself. |
I don't have one... |
SUMMARY
Manually added host parameters don't get populated in foreman inventory plugin:
ISSUE TYPE
ANSIBLE VERSION
COLLECTION VERSION
KATELLO/FOREMAN VERSION
STEPS TO REPRODUCE
Output format: JSON
,Hosts: <your_host_with_new_params>
,Host Parameters: yes
-> Generateansible-inventory -i foreman.yml --host <host_with_the_new_param>
EXPECTED RESULTS
The new parameter to show in the hostvars.
ACTUAL RESULTS
The newly added host parameter does not get populated in the inventory
I feel like I'm missing something because the values are correctly shown in
Host View -> Ansible -> Inventory
The text was updated successfully, but these errors were encountered: