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
commit 95b31a3b61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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."
)