Add support for ansible 2.0
Change-Id: I8e94a5e45fdd35a18ddb5b63d7001e11690cef7e Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
75551c8436
commit
38be7a97ef
|
@ -19,7 +19,7 @@ galaxy_info:
|
||||||
and ramdisk images.
|
and ramdisk images.
|
||||||
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:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
ansible<2.0
|
ansible>=2.0.0
|
||||||
|
|
|
@ -16,4 +16,4 @@
|
||||||
include_vars: "{{ ansible_os_family }}.yaml"
|
include_vars: "{{ ansible_os_family }}.yaml"
|
||||||
|
|
||||||
- include: install.yaml
|
- include: install.yaml
|
||||||
sudo: yes
|
become: yes
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue