Skip to content

--tls-verify parameter in ansible-navigator.yml fails with Docker container engine #152

@jimright

Description

@jimright

When using Docker container engine (version 26.1.4) get the following error when executing ansible-navigator run

ansible-navigator run external_setup.yml \
    -e @definition.yml \
    -e @config.yml
-------------------------------------------------------------------------------
Execution environment image and pull policy overview
-------------------------------------------------------------------------------
Execution environment image name:     [ghcr.io/cloudera-labs/cldr-runner-aws:latest](http://ghcr.io/cloudera-labs/cldr-runner-aws:latest)
Execution environment image tag:      latest
Execution environment pull arguments: --tls-verify=false
Execution environment pull policy:    tag
Execution environment pull needed:    True
-------------------------------------------------------------------------------
Updating the execution environment
-------------------------------------------------------------------------------
Running the command: docker pull --tls-verify=false [ghcr.io/cloudera-labs/cldr-runner-aws:latest](http://ghcr.io/cloudera-labs/cldr-runner-aws:latest)
  Error: Execution environment pull failed
         unknown flag: --tls-verify See 'docker pull --help'.
   Hint: Check the execution environment image name, connectivity to and
         permissions for the registry, and try again

Removing the tls-verify argument from the ansible-navigator.yml file resolves the issue. Relevant code causing the issue is shown below.

arguments:
- "--tls-verify=false"

Need to verify that other container engines don't have an issue when this is removed. If not then I suggest this argument is removed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions