Playbook dir option (#32275)

* initial add of basedir

Allows you to set a 'playbook dir' for adhoc, inventory and console to allow for 'relative path loading'
This commit is contained in:
Brian Coca
2017-10-31 15:41:30 -04:00
committed by GitHub
parent 8037eb7474
commit 95b31a3b61
4 changed files with 13 additions and 2 deletions

View File

@@ -88,6 +88,7 @@ class ConsoleCLI(CLI, cmd.Cmd):
vault_opts=True,
fork_opts=True,
module_opts=True,
basedir_opts=True,
desc="REPL console for executing Ansible tasks.",
epilog="This is not a live session/connection, each task executes in the background and returns it's results."
)