Merge "Limit become usage for testing"
This commit is contained in:
commit
701ee74db4
@ -13,12 +13,12 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- hosts: test
|
- hosts: test
|
||||||
become: yes
|
|
||||||
vars:
|
vars:
|
||||||
rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"
|
rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
# Make sure OS does not have a stale package cache.
|
# Make sure OS does not have a stale package cache.
|
||||||
- name: Update apt cache.
|
- name: Update apt cache.
|
||||||
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
@ -300,13 +300,16 @@
|
|||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
- name: Ensure zuul-launcher is running.
|
- name: Ensure zuul-launcher is running.
|
||||||
|
become: yes
|
||||||
shell: /usr/sbin/service zuul-launcher status
|
shell: /usr/sbin/service zuul-launcher status
|
||||||
tags: skip_ansible_lint
|
tags: skip_ansible_lint
|
||||||
|
|
||||||
- name: Ensure zuul-merger is running.
|
- name: Ensure zuul-merger is running.
|
||||||
|
become: yes
|
||||||
shell: /usr/sbin/service zuul-merger status
|
shell: /usr/sbin/service zuul-merger status
|
||||||
tags: skip_ansible_lint
|
tags: skip_ansible_lint
|
||||||
|
|
||||||
- name: Ensure zuul-server is running.
|
- name: Ensure zuul-server is running.
|
||||||
|
become: yes
|
||||||
shell: /usr/sbin/service zuul-server status
|
shell: /usr/sbin/service zuul-server status
|
||||||
tags: skip_ansible_lint
|
tags: skip_ansible_lint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user