ceph-ansible/roles/ceph-rgw/handlers/main.yml

15 lines
259 B
YAML

---
- name: restart apache2
service: >
name=apache2
state=restarted
enabled=yes
when: ansible_os_family == 'Debian'
- name: restart apache2
service: >
name=httpd
state=restarted
enabled=yes
when: ansible_os_family == 'RedHat'