diff options
author | Tomas Sedovic <tomas@sedovic.cz> | 2017-10-02 09:49:32 +0200 |
---|---|---|
committer | Tomas Sedovic <tomas@sedovic.cz> | 2017-10-04 17:46:39 +0200 |
commit | 51e017647815e10f61afcb0ac60985b4eeff24ca (patch) | |
tree | f113638c3382ddf9cd1c56d64430acf35952d5b3 /playbooks/provisioning/openstack/sample-inventory/ansible.cfg | |
parent | 2abe439cd35321e6388c25d5c8e4e6f1fa77e796 (diff) | |
download | openshift-51e017647815e10f61afcb0ac60985b4eeff24ca.tar.gz openshift-51e017647815e10f61afcb0ac60985b4eeff24ca.tar.bz2 openshift-51e017647815e10f61afcb0ac60985b4eeff24ca.tar.xz openshift-51e017647815e10f61afcb0ac60985b4eeff24ca.zip |
Add dynamic inventory
This adds an `inventory.py` script to the `sample-inventory` that lists
all the necessary servers and groups dynamically, skipping the
`static_inventory` role as well as the `hosts` creation.
It also adds an `os_cinder` lookup function which is necessary for a
seamless Cinder OpenShift registry integration without a static
inventory.
Diffstat (limited to 'playbooks/provisioning/openstack/sample-inventory/ansible.cfg')
-rw-r--r-- | playbooks/provisioning/openstack/sample-inventory/ansible.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/provisioning/openstack/sample-inventory/ansible.cfg b/playbooks/provisioning/openstack/sample-inventory/ansible.cfg index 81d8ae10c..a21f023ea 100644 --- a/playbooks/provisioning/openstack/sample-inventory/ansible.cfg +++ b/playbooks/provisioning/openstack/sample-inventory/ansible.cfg @@ -1,6 +1,7 @@ # config file for ansible -- http://ansible.com/ # ============================================== [defaults] +ansible_user = openshift forks = 50 # work around privilege escalation timeouts in ansible timeout = 30 @@ -14,6 +15,8 @@ fact_caching_connection = .ansible/cached_facts fact_caching_timeout = 900 stdout_callback = skippy callback_whitelist = profile_tasks +lookup_plugins = openshift-ansible-contrib/lookup_plugins + [ssh_connection] ssh_args = -o ControlMaster=auto -o ControlPersist=900s -o GSSAPIAuthentication=no |