Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jimright opened this issue Dec 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jimright
Copy link
Contributor

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.

@jimright jimright added the bug Something isn't working label Dec 11, 2024
@jimright jimright self-assigned this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant