Ansible Navigator Configuration
Ansible Navigator Configuration
| Type | object |
|---|---|
| File match |
.ansible-navigator.json
.ansible-navigator.yaml
.ansible-navigator.yml
ansible-navigator.json
ansible-navigator.yaml
ansible-navigator.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/ansible-navigator-configuration/latest.json |
| Source | https://raw.githubusercontent.com/ansible/ansible-navigator/main/src/ansible_navigator/data/ansible-navigator.json |
Validate with Lintel
npx @lintel/lintel check
Properties
19 nested properties
5 nested properties
Extra parameters passed to the underlying ansible command (e.g. ansible-playbook, ansible-doc, etc)
2 nested properties
Help options for ansible-config command in stdout mode
false
true false Specify the path to the ansible configuration file
2 nested properties
Help options for ansible-doc command in stdout mode
false
true false 2 nested properties
Specify an inventory file path or comma separated host list
Help options for ansible-inventory command in stdout mode
false
true false 2 nested properties
Help options for ansible-playbook command in stdout mode
false
true false Specify the playbook name
2 nested properties
Help options for ansible-builder command in stdout mode
false
true false Specify the path that contains ansible-builder manifest files
"."
2 nested properties
Specify the path to the ansible-lint configuration file
Path to files on which to run ansible-lint
4 nested properties
The directory path to store artifacts generated by ansible-runner
Write ansible-runner job_events in the artifact directory
false
true false Keep ansible-runner artifact directories, for last n runs, if set to 0 artifact directories won't be deleted
The timeout value after which ansible-runner will forcefully stop the execution
Subcommands
"welcome"
"builder" "collections" "config" "doc" "exec" "images" "inventory" "lint" "replay" "run" "settings" "welcome" The path to collection doc cache
"~/.cache/ansible-navigator/collection_doc_cache.db"
2 nested properties
Enable the use of color for mode interactive and stdout
true
true false Enable or disable terminal color changing support with OSC 4
true
true false 2 nested properties
Specify the editor command
"vi +{line_number} {filename}"
Specify if the editor is console based
true
true false Enable prompts for password and in playbooks. This will set mode to stdout and disable playbook artifact creation
false
true false 2 nested properties
Specify the command to run within the execution environment
"/bin/bash"
Specify the exec command should be run in a shell
true
true false 7 nested properties
Specify the container engine (auto=podman then docker)
"auto"
"auto" "podman" "docker" Extra parameters passed to the container engine command
Enable or disable the use of an execution environment
true
true false 2 nested properties
Specify an existing environment variable to be passed through to and set within the execution environment (--penv MY_VAR)
Specify an environment variable and a value to be set within the execution environment (--senv MY_VAR=42)
Specify the name of the execution environment image
2 nested properties
Specify any additional parameters that should be added to the pull command when pulling an execution environment from a container registry. e.g. --pa='--tls-verify=false'
Specify the image pull policy always:Always pull the image, missing:Pull if not locally available, never:Never pull the image, tag:if the image tag is 'latest', always pull the image, otherwise pull if not locally available
"tag"
"always" "missing" "never" "tag" Specify volume to be bind mounted within an execution environment (--eev /home/user/test:/home/user/test:Z)
Specify the format for stdout output.
"yaml"
"json" "yaml" 1 nested properties
Provide detailed information about the selected execution environment image
[
"everything"
]
Specify a host attribute to show in the inventory view
3 nested properties
Specify if log messages should be appended to an existing log file, otherwise a new log file will be created per session
true
true false Specify the full path for the ansible-navigator log file
"./ansible-navigator.log"
Specify the ansible-navigator log level
"warning"
"debug" "info" "warning" "error" "critical" Specify the user-interface mode
"interactive"
"stdout" "interactive" 3 nested properties
Enable or disable the creation of artifacts for completed playbooks. Note: not compatible with '--mode stdout' when playbooks require user input
true
true false Specify the path for the playbook artifact to replay
Specify the name for artifacts created from completed playbooks. The following placeholders are available: {playbook_dir}, {playbook_name}, {playbook_status}, and {time_stamp}
"{playbook_dir}/{playbook_name}-artifact-{time_stamp}.json"
4 nested properties
Show the effective settings. Defaults, CLI parameters, environment variables, and the settings file will be combined
false
Generate a sample settings file
false
Generate a schema for the settings file ('json'= draft-07 JSON Schema)
"json"
"json" Show the source of each current settings entry
false
Specify the IANA time zone to use or 'local' to use the system time zone
"UTC"