summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-03 13:15:11 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-03 13:15:11 -0500
commit3d3f2875bb89cdbdeadd7da4868355669ba12122 (patch)
tree37b05293c4fb0f606b63aabf95b174d5ede8154a
parent63805876bb3d34965903a54a5699c6f5979f3fed (diff)
parent4e0a939abb578fc205fab940a22f40ef5a73abe6 (diff)
downloadopenshift-3d3f2875bb89cdbdeadd7da4868355669ba12122.tar.gz
openshift-3d3f2875bb89cdbdeadd7da4868355669ba12122.tar.bz2
openshift-3d3f2875bb89cdbdeadd7da4868355669ba12122.tar.xz
openshift-3d3f2875bb89cdbdeadd7da4868355669ba12122.zip
Merge pull request #801 from smunilla/default_playbook_arg
atomic-openshift-installer: Add default openshift-ansible-playbook
-rw-r--r--utils/src/ooinstall/cli_installer.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 63b794f03..ffcfc5db2 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -379,14 +379,14 @@ def get_hosts_to_run_on(oo_cfg, callback_facts, unattended, force):
readable=True),
default=None)
@click.option('--ansible-playbook-directory',
- '-a',
- type=click.Path(exists=True,
- file_okay=False,
- dir_okay=True,
- writable=False,
- readable=True),
- # callback=validate_ansible_dir,
- envvar='OO_ANSIBLE_PLAYBOOK_DIRECTORY')
+ '-a',
+ type=click.Path(exists=True,
+ file_okay=False,
+ dir_okay=True,
+ readable=True),
+ # callback=validate_ansible_dir,
+ default='/usr/share/openshift-ansible/',
+ envvar='OO_ANSIBLE_PLAYBOOK_DIRECTORY')
@click.option('--ansible-config',
type=click.Path(file_okay=True,
dir_okay=False,