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

redhat.satellite collection removes existing organization parameters while adding a new one on the Satellite server. #1705

Open
krutikakinge opened this issue Jan 31, 2024 · 0 comments

Comments

@krutikakinge
Copy link

SUMMARY

When trying to add organization parameters on the Satellite server using collection redhat.satellite add the new parameter but removes the old/existing parameters.

ISSUE TYPE
  • Bug Report
ANSIBLE VERSION

ansible-playbook [core 2.15.8]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.9/site-packages/ansible
ansible collection location = /runner/requirements_collections:/home/runner/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible-playbook
python version = 3.9.18 (main, Sep 22 2023, 17:58:34) [GCC 8.5.0 20210514 (Red Hat 8.5.0-20)] (/usr/bin/python3.9)
jinja version = 3.1.2
libyaml = True

COLLECTION VERSION

redhat.satellite 3.10.0

STEPS TO REPRODUCE

Create a playbook to add organization parameters on the Satellite server.

- name: Add parameter
  hosts: satellite.example.com
  tasks:
    - name: "Set org parameter"
      redhat.satellite.organization:
       username: user
       password: password
       server_url: "https://satellite.example.com"
       name: "organization"
       parameters:
          - name: "foo"
            value: "bar"
EXPECTED RESULTS

The new parameter should be added along with the existing parameters for the Satellite organization.

ACTUAL RESULTS

The old/existing organization parameters are removed and the new parameter is added to the organization.

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

No branches or pull requests

1 participant