Skip to content

nios_a_record fails when using environment variables for provider data #255

@murrahjm

Description

@murrahjm

Given the following sample code:

infoblox.nios.nios_a_record:
  name: testrecord.domain.com
  view: default
  ipv4addr: 10.10.10.10

with the following environment variables set:

INFOBLOX_HOST
INFOBLOX_USERNAME
INFOBLOX_PASSWORD

the task fails with this error:

"ansible.module_utils.api.get_connector() argument after ** must be a mapping, not NoneType"

I think it's referencing this line:

self.connector = get_connector(**provider)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions