Update to ansible 2.0
Change-Id: I046c2ae83bb73de9478697ecc86e6929fa43aa4f Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
e7869b9e49
commit
17c8dcedea
@ -13,7 +13,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Restart jenkins
|
- name: Restart jenkins
|
||||||
|
become: yes
|
||||||
service:
|
service:
|
||||||
name: jenkins
|
name: jenkins
|
||||||
state: restarted
|
state: restarted
|
||||||
sudo: yes
|
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
---
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Paul Belanger
|
author: Paul Belanger
|
||||||
description: |
|
description: Ansible role to manage Jenkins
|
||||||
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
|
ansible>=2.0.0
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
include_vars: "{{ ansible_os_family }}.yaml"
|
include_vars: "{{ ansible_os_family }}.yaml"
|
||||||
|
|
||||||
- include: install.yaml
|
- include: install.yaml
|
||||||
sudo: yes
|
become: yes
|
||||||
|
|
||||||
- include: config.yaml
|
- include: config.yaml
|
||||||
sudo: yes
|
become: yes
|
||||||
|
|
||||||
- include: service.yaml
|
- include: service.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 }}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user