Browse Source

Add support for ansible 2.0

Change-Id: Id92a742947bc8d66203d97fc695b97b8fc033994
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
changes/00/279300/2
Paul Belanger 3 years ago
parent
commit
e094d6bf9e
4 changed files with 5 additions and 5 deletions
  1. 2
    2
      meta/main.yml
  2. 1
    1
      requirements.txt
  3. 1
    1
      tasks/main.yaml
  4. 1
    1
      tests/test.yaml

+ 2
- 2
meta/main.yml View File

@@ -14,10 +14,10 @@
14 14
 ---
15 15
 galaxy_info:
16 16
   author: Paul Belanger
17
-  description: |
17
+  description: Ansible role to manage Jenkins plugins
18 18
   company: Red Hat, Inc.
19 19
   license: Apache
20
-  min_ansible_version: 1.9
20
+  min_ansible_version: 2.0
21 21
   platforms:
22 22
   - name: EL
23 23
     versions:

+ 1
- 1
requirements.txt View File

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

+ 1
- 1
tasks/main.yaml View File

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

+ 1
- 1
tests/test.yaml View File

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

Loading…
Cancel
Save