Module no longer supplying default values for variables

34 views
Skip to first unread message

Kevin Knox

unread,
May 12, 2023, 10:40:03 AM5/12/23
to Ansible Project
On 5/10 @ 12:11 P.M. my AWX instance suddenly changed its own behavior. I can find no changes anywhere in the system. A job that had run hundreds of times successfully every time suddenly started failing 100% of the time. The cause of failure is that 2 variables for which the module supplies default values were suddenly only getting null values, not the necessary defaults. I was able to restore the system to function by explicitly setting those variables in my plays, but what happened? Why do the modules no longer provide the defaults? 

Is this a behavior anyone else has seen?

The module is: bigip_cli_script

{
  "changed": false,
  "invocation": {
    "module_args": {
      "name": "get_oauth_client.tcl",
      "content": "proc script::run {} {puts stdout \"Ran to completion\"\n}",
      "provider": {
        "server": "10.xx.xx.198",
        "validate_certs": false,
        "server_port": null,
        "user": "ansible",
        "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
        "transport": "rest",
        "timeout": null,
        "no_f5_teem": null,
        "auth_provider": null
      },
      "state": "present",
      "partition": "Common",
      "description": null
    }
  },
  "ansible_facts": {
    "discovered_interpreter_python": "/usr/bin/python3"
  },
  "_ansible_no_log": null
}

The variables in the provider section, server_port and no_f5_teem, have been null for months. The module should supply the values "443" and "yes" to those two variables, but it suddenly quit doing so. When I supply those two variables to the play, it runs like a champ. 

There were no project updates done at that time. The nodes did not restart. There were no changes to the project even to update. The OpenShift cluster on which it's running did not change. I cannot think of any reason for it to behave differently. 

Thank you,

Kevin

Andrew Latham

unread,
May 13, 2023, 1:10:05 PM5/13/23
to ansible...@googlegroups.com
The AWX list is at https://groups.google.com/g/awx-project which may have information and users to help you.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a1550b84-3880-4303-928b-37e79b74de50n%40googlegroups.com.


--
- Andrew "lathama" Latham -

Kevin Knox

unread,
May 13, 2023, 1:23:31 PM5/13/23
to ansible...@googlegroups.com
Thank you. 

Sent from my iPhone

On May 13, 2023, at 1:10 PM, Andrew Latham <lat...@gmail.com> wrote:


You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/64bywqPpAOc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2Bqj4S9LR6aOza6DVtq61W0L27Mb%3DoOBPG6RuVeaWXRbt0Z1TQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages