update: update rgw systemd unit name

The old name is used in `rolling_update.yml` and
`purge-docker-cluster.yml`, it breaks the
`test_rgw_service_is_running()` test.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/1948/head
Guillaume Abrioux 2017-09-24 04:52:51 +02:00
parent c6de5b13b3
commit 7195b08718
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@
- name: disable ceph rgw service (new unit name) - name: disable ceph rgw service (new unit name)
service: service:
name: "ceph-radosgw@{{ ansible_hostname }}" name: "ceph-radosgw@rgw.{{ ansible_hostname }}"
state: stopped state: stopped
enabled: no enabled: no
ignore_errors: true ignore_errors: true

View File

@ -483,7 +483,7 @@
- name: restart containerized ceph rgws with systemd - name: restart containerized ceph rgws with systemd
service: service:
name: ceph-radosgw@{{ ansible_hostname }} name: ceph-radosgw@rgw.{{ ansible_hostname }}
state: restarted state: restarted
enabled: yes enabled: yes
when: when: