Comments (6)
Hello
following your comments, i've tested changing the cmdline to --forks 15 and now it works with no additional arguments
emptying the cmdline breaks the run with the following error
In ansible-navigator.ansible.cmdline: none is not of type string
commenting the cmdline also enables it to works with no additional arguments
Thanks a lot for your help
from ansible-navigator.
cmdargs option is intended to contain not navigator own argument but the underlying called process arguments (ansible-playbook in this case.
We will keep this bug open in order to update the documentation to be more specific.
from ansible-navigator.
From what i've tested, if i don't put another flag after the ansible-navigator run playbook.yml, it will fail to run with the error listed
if i add either -v or -check, the playbook executes correctly
so there seems to be a bug when the run doesn't have any arguments added that it tries to send the -ce podman as an argument to ansible-playbook which is not recognized
from ansible-navigator.
Hey @nuclear12 , In your given configuration file cmdline argument is declared as cmdline: -ce podman
which might be causing this error.
The cmdline option is used for passing extra parameter to the corresponding command.
For example:
---
ansible-navigator:
ansible:
cmdline: "--forks 15"
To specify container engine as podman, simply this should work:
ansible-navigator:
execution-environment:
container-engine: podman
from ansible-navigator.
Try using --ce podman
, which is the parameter for navigator at the command line. When navigator doesn't recognize a flag it will pass it to the underlying command.
(that said, we should figure out why we aren't passing it to playbook when -v
is used)
from ansible-navigator.
Oh.....
Here's the explanation.
If you have cmdline
used in your setting file and don't provide any unrecognized parameters at the command line, the settings file entry will be used and passed to ansible-playbook
If you have cmdline
used in your setting file and do provide some unrecognized paramater at the command line (e.g.-v
) that will get passed to ansible-playbook instead of what is in the settings file.
This is a result of how navigator handles setting precedence: https://ansible.readthedocs.io/projects/navigator/faq/#what-is-the-order-in-which-configuration-settings-are-applied
from ansible-navigator.
Related Issues (20)
- MacOS - Docker - EEv3: SSH fails with socket path /runner/.ansible/pc/... does not exist
- Update links to EE getting started guide HOT 1
- Image inspection fails in actions workflow HOT 2
- Switch Releases to CalVer
- Update `cmdline` description
- Update to the latest pytest-plus
- Refactor navigator testing
- Drop setuptools_scm_git_archive dependency HOT 1
- Provide visual feedback when filter is applied HOT 1
- collections command fails with message: Something went really wrong HOT 1
- ANSIBLE_VAULT_PASSWORD related instructions do not seem to work as documented with EE's. HOT 6
- Update docs to run on Podman for Mac
- Allow disabling logging completely
- How do I turn off the requirement for ansible-navigator being run in a tty? HOT 2
- Support the "newer" pull policy of podman to better cope with download issues
- Podman volume mount of single files are replaced by a directory mount rather than inserted correctly HOT 4
- ansible-navigator run does not allow using yaml output HOT 3
- ansible-navigator 24.3.2 attempts to load python 3.9 library instead of 3.12 when inspecting EE images HOT 4
- Images inspect not possible - Image introspection failed HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-navigator.