Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-2623

Ability to update only the PUBLIC_KEY using the ansible.platform.authenticator collection.

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Collection Link - https://console.redhat.com/ansible/automation-hub/repo/published/ansible/platform/content/module/authenticator/

       

      We have a need of automating the configuration of our IDP configuration which changes it's public key frequently. 

      However when trying to do this with the ansible.platform.authenticator module it errors out when not additional values are provided.
      This should not be required as we only want to change one value. Unsure if this is an API or module limitation.

       

          - name: Update public key
            ansible.platform.authenticator:
              aap_username: "{{ aap_username }}"
              aap_password: "{{ aap_password }}"
              aap_hostname: "{{ aap_hostname }}"
              name: "SSO"
              configuration:
                PUBLIC_KEY: "{{ keycloak_response.json.public_key }}"

       

      When I try this I get the following error:

      fatal: [aap.example.com]: FAILED! => {"changed": false, "msg": "c{'KEY': ['This field is required.'], 'SECRET': ['This field is required.']}"}

       

       

      Ask:
      The collection should support updating only a single variable under the configuration section, specifically PUBLIC_KEY.

              rh-ee-rreed Ron Reed
              rhn-support-ahuchcha Amar Huchchanavar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: