i have a very simple ansible playbook/tasks to change NTP-servers.
This works well and can be imported and started with foreman except ansible variables are not imported to foreman.
So how to handle this?
I want to set and overwrite the ansible variables via foreman GUI.
Is this possible?
i already read a post where to write variables in default folder but i did not get it working:-(
# vars file for test
# tasks file for test
- name: Copy the chrony.conf template file
template: src=templates/chrony.conf.j2 dest=/etc/chrony.conf
- name: restart chrony
Thanks! Feature: “set hidden ansible variables values with global setting” should imho be implemented in future as it makes configuration more efficient…however probably a user settings needs to be introduced for users should not see this values…so effort is not soo low…is there a chance to get this feature ??
Adding a setting that would determine if imported variables have hidden/visible values on import is quite easy, having different visibility per user is a bit more complex - whether the value is hidden or not is a variable attribute right now and it would have to be moved into the permission system.
It makes me wonder about the use case and whether this granularity is really needed, something similar can be achieved today by not giving users ‘view_ansible_variables’ permission. Of course, they would not see any variable details, not just the variable value.
Still, if the feature request is in redmine, someone may pick it up and start working on it.
What is the situation with other parameters such as Global or Puppet? I think a user with view_* permission should be able to see all hidden parameters values, but i might be wrong and it requires edit_* permission,
We should have a unified experience for all parameters in my opinion, rather than adding a specific setting for ansible.