within provisioning callback play/delegate to other host?

AWX 17.1.0
Ansible 2.9.18

using AWX and provisioning callbacks after satellite installation.

Now i try to modify an infoblox entry using the infoblox client integration for linux.

problem is, during the execution of the callback curl html header limits my play execution on AWX to the specific host. How to extend this limit in a provisioning callback? Or how to do tasks on a second host, which is not executing the callback itself, but part of the inventory?

for example.

Host: testhost.bla

satellite installation

executing curl': /usr/bin/curl -k -s --data "host_config_key=info" https://awx.bla/api/v2/job_templates/61/callback/

modify infoblox entry on infoblox.bla

TASK [delte an A record] *******************************************************fatal: [ltesthost.bla]: FAILED! => {“changed”: false, “msg”: “infoblox-client is required but does not appear to be installed. It can be installed using the command pip install infoblox-client”}

if i change my play to:

  • name: infoblox Record change
    hosts: infoblox.bla
    gather_facts: no
    vars:
    tasks:
    • name: delte an A record
      infoblox.nios_modules.nios_a_record:

Get error:

PLAY [infoblox Record change] ************************************************skipping: no hosts matched

because provisioning callback is not addressing my infoblox.bla

Set the hosts to all and delegate the task for infoblox. You won’t be able to adjust the callback limit. You could look at event driven ansible for more capabilities in handling webhooks as an alternative.