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 @@ --- galaxy_info: author: Paul Belanger - description: | + description: Ansible role to manage Jenkins plugins company: Red Hat, Inc. license: Apache - min_ansible_version: 1.9 + min_ansible_version: 2.0 platforms: - name: EL 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 @@ # under the License. --- - include: config.yaml - sudo: yes + 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 @@ # under the License. --- - hosts: localhost - sudo: yes + become: yes vars: rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}" pre_tasks: