fix pep8 issue in consul_kv.py (#32310)
This commit is contained in:
parent
b0954dbeb4
commit
9cff2c376b
2 changed files with 4 additions and 3 deletions
|
@ -240,11 +240,13 @@ def get_consul_api(module, token=None):
|
||||||
verify=module.params.get('validate_certs'),
|
verify=module.params.get('validate_certs'),
|
||||||
token=module.params.get('token'))
|
token=module.params.get('token'))
|
||||||
|
|
||||||
|
|
||||||
def test_dependencies(module):
|
def test_dependencies(module):
|
||||||
if not python_consul_installed:
|
if not python_consul_installed:
|
||||||
module.fail_json(msg="python-consul required for this module. "\
|
module.fail_json(msg="python-consul required for this module. "
|
||||||
"see http://python-consul.readthedocs.org/en/latest/#installation")
|
"see http://python-consul.readthedocs.org/en/latest/#installation")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
argument_spec = dict(
|
argument_spec = dict(
|
||||||
|
|
|
@ -131,7 +131,6 @@ lib/ansible/modules/cloud/webfaction/webfaction_app.py
|
||||||
lib/ansible/modules/cloud/webfaction/webfaction_db.py
|
lib/ansible/modules/cloud/webfaction/webfaction_db.py
|
||||||
lib/ansible/modules/cloud/webfaction/webfaction_domain.py
|
lib/ansible/modules/cloud/webfaction/webfaction_domain.py
|
||||||
lib/ansible/modules/cloud/webfaction/webfaction_site.py
|
lib/ansible/modules/cloud/webfaction/webfaction_site.py
|
||||||
lib/ansible/modules/clustering/consul_kv.py
|
|
||||||
lib/ansible/modules/clustering/consul_session.py
|
lib/ansible/modules/clustering/consul_session.py
|
||||||
lib/ansible/modules/clustering/pacemaker_cluster.py
|
lib/ansible/modules/clustering/pacemaker_cluster.py
|
||||||
lib/ansible/modules/database/misc/kibana_plugin.py
|
lib/ansible/modules/database/misc/kibana_plugin.py
|
||||||
|
|
Loading…
Reference in a new issue