Automation content navigator command reference
Configure automation content navigator settings to customize the tool for your specific development environment needs. This helps you optimize your workflow for efficiency.
Create an automation content navigator settings file Copy linkLink copied!
Alter default automation content navigator settings using the command line, environment variables, or a dedicated settings file. Using a settings file helps ensure consistent configuration across sessions.
Automation content navigator checks for a settings file in the following order and uses the first match:
ANSIBLE_NAVIGATOR_CONFIG- The settings file path environment variable if set../ansible-navigator.<ext>- The settings file within the current project directory, with no dot in the file name.\~/.ansible-navigator.<ext>- Your home directory, with a dot in the file name.
Consider the following when you create an automation content navigator settings file:
- The settings file can be in
JSONorYAMLformat. - For settings in
JSONformat, the extension must be.json. - For settings in
YAMLformat, the extension must be.ymlor.yaml. - The project and home directories can only contain one settings file each.
- If automation content navigator finds more than one settings file in either directory, it results in an error.
You can copy the example settings file below into one of those paths to start your ansible-navigator settings file.
---
ansible-navigator:
# ansible:
# config: /tmp/ansible.cfg
# cmdline: "--forks 15"
# inventories:
# - /tmp/test_inventory.yml
# playbook: /tmp/test_playbook.yml
# ansible-runner:
# artifact-dir: /tmp/test1
# rotate-artifacts-count: 10
# timeout: 300
# app: run
# collection-doc-cache-path: /tmp/cache.db
# color:
# enable: False
# osc4: False
# editor:
# command: vim_from_setting
# console: False
# documentation:
# plugin:
# name: shell
# type: become
# execution-environment:
# container-engine: podman
# enabled: False
# environment-variables:
# pass:
# - ONE
# - TWO
# - THREE
# set:
# KEY1: VALUE1
# KEY2: VALUE2
# KEY3: VALUE3
# image: test_image:latest
# pull-policy: never
# volume-mounts:
# - src: "/test1"
# dest: "/test1"
# label: "Z"
# help-config: True
# help-doc: True
# help-inventory: True
# help-playbook: False
# inventory-columns:
# - ansible_network_os
# - ansible_network_cli_ssh_type
# - ansible_connection
logging:
# append: False
level: critical
# file: /tmp/log.txt
# mode: stdout
# playbook-artifact:
# enable: True
# replay: /tmp/test_artifact.json
# save-as: /tmp/test_artifact.json
Automation content navigator general settings Copy linkLink copied!
The following table describes each general parameter and setting options for automation content navigator.
| Parameter | Description | Setting options |
|---|---|---|
| ansible-runner-artifact-dir |
The directory path to store artifacts generated by ansible-runner. |
Default: No default value set CLI: ENV: Settings file:
|
| ansible-runner-rotate-artifacts-count |
Keep ansible-runner artifact directories, for last n runs. If set to 0, artifact directories are not deleted. |
Default: No default value set CLI: ENV: Settings file:
|
| ansible-runner-timeout |
The timeout value after which |
Default: No default value set CLI: ENV: Settings file:
|
| app |
Entry point for automation content navigator. |
Choices: Default: CLI example: ENV: Settings file:
|
| cmdline |
Extra parameters passed to the corresponding command. |
Default: No default value CLI: positional ENV: Settings file:
|
| collection-doc-cache-path |
The path to the collection doc cache. |
Default: CLI: ENV: Settings file:
|
| container-engine |
Specify the container engine ( |
Choices: Default: CLI: ENV: Settings file:
|
| display-color |
Enable the use of color in the display. |
Choices: Default: CLI: ENV: Settings file:
|
| editor-command |
Specify the editor used by automation content navigator |
Default:* vi +{line_number} {filename} CLI: ENV: Settings file:
|
| editor-console |
Specify if the editor is console based. |
Choices: Default: CLI: ENV: Settings file:
|
| execution-environment |
Enable or disable the use of an automation execution environment. |
Choices: Default: CLI: ENV:* Settings file:
|
| execution-environment-image |
Specify the name of the automation execution environment image. |
Default: CLI: ENV: Settings file:
|
| execution-environment-volume-mounts |
Specify volume to be bind mounted within an automation execution environment ( |
Default: No default value set CLI: ENV: Settings file:
|
| log-append |
Specify if log messages should be appended to an existing log file, otherwise a new log file is created per session. |
Choices: Default: True CLI: ENV: Settings file:
|
| log-file |
Specify the full path for the automation content navigator log file. |
Default: CLI: ENV: Settings file:
|
| log-level |
Specify the automation content navigator log level. |
Choices: Default: CLI: ENV: Settings file:
|
| mode |
Specify the user-interface mode. |
Choices: Default: CLI: ENV: Settings file:
|
| osc4 |
Enable or disable terminal color changing support with OSC 4. |
Choices: Default: CLI: ENV: Settings file:
|
| pass-environment-variable |
Specify an exiting environment variable to be passed through to and set within the automation execution environment ( |
Default: No default value set CLI: ENV: Settings file:
|
| pull-policy |
Specify the image pull policy.
|
Choices: Default: CLI: ENV: Settings file:
|
| set-environment-variable |
Specify an environment variable and a value to be set within the automation execution environment |
Default: No default value set CLI: ENV: Settings file:
|
Automation content navigator config subcommand settings Copy linkLink copied!
The following table describes each parameter and setting options for the automation content navigator config subcommand.
| Parameter | Description | Setting options |
|---|---|---|
| config |
Specify the path to the Ansible configuration file. |
Default: No default value set CLI: ENV: Settings file:
|
| help-config |
Help options for the |
Choices:* Default: CLI: ENV: Settings file:
|
automation content navigator doc subcommand settings Copy linkLink copied!
The following table describes each parameter and setting options for the automation content navigator doc subcommand.
| Parameter | Description | Setting options |
|---|---|---|
| help-doc |
Help options for the |
Choices: Default: CLI: ENV: Settings file:
|
| plugin-name |
Specify the plugin name. |
Default: No default value set CLI: positional ENV: Settings file:
|
| plugin-type |
Specify the plugin type. |
Choices: Default: CLI: ENV: Settings file:
|
Automation content navigator inventory subcommand settings Copy linkLink copied!
The following table describes each parameter and setting options for the automation content navigator inventory subcommand.
| Parameter | Description | Setting options |
|---|---|---|
| help-inventory |
Help options for the |
Choices: Default: CLI: ENV: Settings file:
|
| inventory |
Specify an inventory file path or comma separated host list. |
Default: no default value set CLI: ENV: Settings file:
|
| inventory-column |
Specify a host attribute to show in the inventory view. |
Default: No default value set CLI: ENV:*
|
Automation content navigator replay subcommand settings Copy linkLink copied!
The following table describes each parameter and setting options for the automation content navigator replay subcommand.
| Parameter | Description | Setting options |
|---|---|---|
| playbook-artifact-replay |
Specify the path for the playbook artifact to replay. |
Default: No default value set CLI: positional ENV: Settings file:
|
Automation content navigator run subcommand settings Copy linkLink copied!
The following table describes each parameter and setting options for the automation content navigator run subcommand.
| Parameter | Description | Setting options |
|---|---|---|
| playbook-artifact-replay |
Specify the path for the playbook artifact to replay. |
Default: No default value set CLI: positional ENV: Settings file:
|
| help-playbook |
Help options for the |
Choices: Default: CLI: ENV: Settings file:
|
| inventory |
Specify an inventory file path or comma separated host list. |
Default: no default value set CLI: ENV: Settings file:
|
| inventory-column |
Specify a host attribute to show in the inventory view. |
Default: No default value set CLI: ENV:*
|
| playbook |
Specify the playbook name. |
Default: No default value set CLI: positional ENV: Settings file:*
|
| playbook-artifact-enable |
Enable or disable the creation of artifacts for completed playbooks. Note: not compatible with |
Choices: Default: CLI:
|
| playbook-artifact-save-as |
Specify the name for artifacts created from completed playbooks. |
Default: CLI: ENV: Settings file:
|