Project

General

Profile

Actions

Bug #27031

closed

hammer ansible variables create/update cannot override default value

Added by Marek Hulán almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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

  1. ansible-galaxy install -p /etc/ansible/roles linuxhq.setup
  2. hammer ansible roles import --proxy-id 1
  3. hammer ansible variables import --proxy-id 1

2. Update an ansible variable value

  1. 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:


Related issues 1 (0 open1 closed)

Related to Ansible - Bug #27664: hammer ansible variables info doesn't show Override flagClosedActions
Actions #1

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
Actions #2

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
Actions #3

Updated by Anonymous almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ondřej Pražák over 4 years ago

  • Related to Bug #27664: hammer ansible variables info doesn't show Override flag added
Actions

Also available in: Atom PDF