Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
Add schema for ansible-navigator (#119)
Browse files Browse the repository at this point in the history
Co-authored-by: Sorin Sbarnea <[email protected]>
  • Loading branch information
ziegenberg and ssbarnea authored Jan 6, 2022
1 parent 3308ed0 commit dbd23b9
Show file tree
Hide file tree
Showing 5 changed files with 797 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
"./f/ansible-requirements.json": ["requirements.yml"],
"./f/zuul.json": ["zuul.d/**/*.yml", "zuul.d/**/*.yaml"],
"./f/ansible-playbook.json": ["playbooks/*.yml", "playbooks/*.yaml"]
},
"python.formatting.provider": "black"
}
}
80 changes: 80 additions & 0 deletions examples/ansible-navigator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
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

documentation:
plugin:
name: shell
type: become

editor:
command: vim_from_setting
console: False

exec:
shell: False
command: /bin/foo

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"
container-options:
- "--net=host"

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:
level: critical
append: False
file: /tmp/log.txt

mode: stdout

playbook-artifact:
enable: True
replay: /tmp/test_artifact.json
save-as: /tmp/test_artifact.json
Loading

0 comments on commit dbd23b9

Please sign in to comment.