Add support for ansible 2.0

Change-Id: Id92a742947bc8d66203d97fc695b97b8fc033994
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-02-11 17:59:30 -05:00
parent 8a1be893c2
commit e094d6bf9e
4 changed files with 5 additions and 5 deletions

View File

@ -14,10 +14,10 @@
--- ---
galaxy_info: galaxy_info:
author: Paul Belanger author: Paul Belanger
description: | description: Ansible role to manage Jenkins plugins
company: Red Hat, Inc. company: Red Hat, Inc.
license: Apache license: Apache
min_ansible_version: 1.9 min_ansible_version: 2.0
platforms: platforms:
- name: EL - name: EL
versions: versions:

View File

@ -1 +1 @@
ansible ansible>=2.0.0

View File

@ -13,4 +13,4 @@
# under the License. # under the License.
--- ---
- include: config.yaml - include: config.yaml
sudo: yes become: yes

View File

@ -13,7 +13,7 @@
# under the License. # under the License.
--- ---
- hosts: localhost - hosts: localhost
sudo: yes become: yes
vars: vars:
rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}" rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"
pre_tasks: pre_tasks: