Lookup plugin for etcd

with support for configurable etcd URL in ansible.cfg (and environment)
This commit is contained in:
Jan-Piet Mens 2013-10-24 10:56:53 +02:00
parent b9dd514713
commit bd5cd8e652
3 changed files with 79 additions and 0 deletions

View file

@ -148,6 +148,9 @@ ACCELERATE_TIMEOUT = get_config(p, 'accelerate', 'accelerate_timeout
ACCELERATE_CONNECT_TIMEOUT = get_config(p, 'accelerate', 'accelerate_connect_timeout', 'ACCELERATE_CONNECT_TIMEOUT', 1.0, floating=True)
PARAMIKO_PTY = get_config(p, 'paramiko_connection', 'pty', 'ANSIBLE_PARAMIKO_PTY', True, boolean=True)
# LOOKUP PLUGIN RELATED
ANSIBLE_ETCD_URL = get_config(p, DEFAULTS, 'etcd_url', 'ANSIBLE_ETCD_URL', 'http://127.0.0.1:4001')
# non-configurable things
DEFAULT_SUDO_PASS = None