diff options
author | Samuel Munilla <smunilla@redhat.com> | 2015-11-02 14:03:34 -0500 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2015-11-03 11:45:31 -0500 |
commit | 4e0a939abb578fc205fab940a22f40ef5a73abe6 (patch) | |
tree | ba4801c6ccc71d852947c605c73920feccce86aa /utils | |
parent | 769a2e15cb505c53aab5953735566e6657dd17c3 (diff) | |
download | openshift-4e0a939abb578fc205fab940a22f40ef5a73abe6.tar.gz openshift-4e0a939abb578fc205fab940a22f40ef5a73abe6.tar.bz2 openshift-4e0a939abb578fc205fab940a22f40ef5a73abe6.tar.xz openshift-4e0a939abb578fc205fab940a22f40ef5a73abe6.zip |
atomic-openshift-installer: Add default openshift-ansible-playbook
This adds a default value to the openshift-ansible-playbook directory and also
removes the requirement that it be writable.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/src/ooinstall/cli_installer.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py index b3b1acebb..88afcee36 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, |