Bug #27031
closedhammer ansible variables create/update cannot override default value
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1718843
Description of problem:
hammer ansible variables create/update cannot override default value
By CLI you can set new default value but then you can't mark it to override.
(no CLI alternative for GUI checkbox [_] Override)
Version-Release number of selected component (if applicable):
satellite-6.6.0-5.beta.el7sat.noarch
tfm-rubygem-foreman_ansible-3.0.2-1.el7sat.noarch
tfm-rubygem-foreman_ansible_core-2.2.1-1.el7sat.noarch
rubygem-smart_proxy_ansible-2.1.2-3.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_ansible-0.3.0-2.el7sat.noarch
ansible-2.8.0-1.el7ae.noarch
How reproducible:
deterministic
Steps to Reproduce:
1. Import an ansible role and its variables
- ansible-galaxy install -p /etc/ansible/roles linuxhq.setup
- hammer ansible roles import --proxy-id 1
- hammer ansible variables import --proxy-id 1
2. Update an ansible variable value
- hammer ansible variables update --name setup_motd --default-value $(base64 <<< 'Hello world')
3. @GUI Check if it is overriding
Configure -> Ansible Variables -> "setup_motd" : Override checkbox unticked
Actual results:
there is no way how to override ansible variable by hammer
Expected results:
even hammer offers a way to override default value
Additional info:
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman_ansible/pull/277 added
Updated by Marek Hulán almost 5 years ago
- Subject changed from hammer ansible variables create/update cannot override default value to hammer ansible variables create/update cannot override default value
- Fixed in Releases foreman-ansible 3.0.3 added
Updated by Anonymous almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_ansible|f4b35e2544578c350da56c7fe9d909c53461f715.
Updated by Ondřej Pražák over 4 years ago
- Related to Bug #27664: hammer ansible variables info doesn't show Override flag added