From 503948203fb9bd9b77c9d76f6679e023b6316e31 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 1 Oct 2015 12:07:43 -0500 Subject: [PATCH] znode requires a minimum of python2.6 --- lib/ansible/modules/extras/.travis.yml | 2 +- lib/ansible/modules/extras/clustering/znode.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/.travis.yml b/lib/ansible/modules/extras/.travis.yml index 409c24454ac..c2583d592fc 100644 --- a/lib/ansible/modules/extras/.travis.yml +++ b/lib/ansible/modules/extras/.travis.yml @@ -10,7 +10,7 @@ addons: - python2.4 - python2.6 script: - - python2.4 -m compileall -fq -x 'cloud/|monitoring/zabbix.*\.py|/dnf\.py|/layman\.py|/maven_artifact\.py|clustering/consul.*\.py|notification/pushbullet\.py' . + - python2.4 -m compileall -fq -x 'cloud/|monitoring/zabbix.*\.py|/dnf\.py|/layman\.py|/maven_artifact\.py|clustering/(consul.*|znode)\.py|notification/pushbullet\.py' . - python2.6 -m compileall -fq . - python2.7 -m compileall -fq . #- ./test-docs.sh extras diff --git a/lib/ansible/modules/extras/clustering/znode.py b/lib/ansible/modules/extras/clustering/znode.py index 3b39865b46e..8effcd9189e 100644 --- a/lib/ansible/modules/extras/clustering/znode.py +++ b/lib/ansible/modules/extras/clustering/znode.py @@ -52,6 +52,7 @@ options: required: false requirements: - kazoo >= 2.1 + - python >= 2.6 author: "Trey Perry (@treyperry)" """