summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2016-02-11 17:59:30 -0500
committerPaul Belanger <pabelanger@redhat.com>2016-02-12 08:36:06 -0500
commite094d6bf9e8c1fd3318a0b25006e00c36ce1dd42 (patch)
treea82fbc8569fe92af3b8ac34bc2a8fb7cdfd5116b
parent8a1be893c266acb7a3abe7830f47bc37fd408bfa (diff)
Add support for ansible 2.0
Change-Id: Id92a742947bc8d66203d97fc695b97b8fc033994 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Notes
Notes (review): Code-Review+2: Paul Belanger <pabelanger@redhat.com> Workflow+1: Paul Belanger <pabelanger@redhat.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 12 Feb 2016 13:50:56 +0000 Reviewed-on: https://review.openstack.org/279300 Project: openstack/ansible-role-jenkins-plugins Branch: refs/heads/master
-rw-r--r--meta/main.yml4
-rw-r--r--requirements.txt2
-rw-r--r--tasks/main.yaml2
-rw-r--r--tests/test.yaml2
4 files changed, 5 insertions, 5 deletions
diff --git a/meta/main.yml b/meta/main.yml
index f198d38..c3c3aec 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -14,10 +14,10 @@
14--- 14---
15galaxy_info: 15galaxy_info:
16 author: Paul Belanger 16 author: Paul Belanger
17 description: | 17 description: Ansible role to manage Jenkins plugins
18 company: Red Hat, Inc. 18 company: Red Hat, Inc.
19 license: Apache 19 license: Apache
20 min_ansible_version: 1.9 20 min_ansible_version: 2.0
21 platforms: 21 platforms:
22 - name: EL 22 - name: EL
23 versions: 23 versions:
diff --git a/requirements.txt b/requirements.txt
index 90d4055..1ab0ddd 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +1 @@
ansible ansible>=2.0.0
diff --git a/tasks/main.yaml b/tasks/main.yaml
index 9da9ce3..88b796e 100644
--- a/tasks/main.yaml
+++ b/tasks/main.yaml
@@ -13,4 +13,4 @@
13# under the License. 13# under the License.
14--- 14---
15- include: config.yaml 15- include: config.yaml
16 sudo: yes 16 become: yes
diff --git a/tests/test.yaml b/tests/test.yaml
index 5fa16b8..25b38b8 100644
--- a/tests/test.yaml
+++ b/tests/test.yaml
@@ -13,7 +13,7 @@
13# under the License. 13# under the License.
14--- 14---
15- hosts: localhost 15- hosts: localhost
16 sudo: yes 16 become: yes
17 vars: 17 vars:
18 rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}" 18 rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"
19 pre_tasks: 19 pre_tasks: