Use become: yes for service checks

With ubuntu-xenail, we need to connect to dbus for systemd. As a
results, update all our instances where we use it.

Change-Id: I0aaefd464f0627ade6abf14f712790826fbe7f86
Depends-On: I32c2895f7974a32a897347593832a2ff1de9ac2c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger
2016-09-29 17:13:11 -04:00
parent 46b394c9eb
commit fec86fe51e
5 changed files with 5 additions and 0 deletions

View File

@@ -24,5 +24,6 @@
- test_nodepool_pip_virtualenv_stat.stat.isdir
- name: Ensure nodepool-builder is running
become: yes
shell: /usr/sbin/service nodepool-builder status
tags: skip_ansible_lint

View File

@@ -24,5 +24,6 @@
- test_nodepool_pip_virtualenv_stat.stat.isdir
- name: Ensure nodepool is running
become: yes
shell: /usr/sbin/service nodepool status
tags: skip_ansible_lint

View File

@@ -24,5 +24,6 @@
- test_zuul_pip_virtualenv_stat.stat.isdir
- name: Ensure zuul-launcher is running
become: yes
shell: /usr/sbin/service zuul-launcher status
tags: skip_ansible_lint

View File

@@ -24,5 +24,6 @@
- test_zuul_pip_virtualenv_stat.stat.isdir
- name: Ensure zuul-merger is running
become: yes
shell: /usr/sbin/service zuul-merger status
tags: skip_ansible_lint

View File

@@ -24,5 +24,6 @@
- test_zuul_pip_virtualenv_stat.stat.isdir
- name: Ensure zuul-server is running
become: yes
shell: /usr/sbin/service zuul-server status
tags: skip_ansible_lint