mirror of https://github.com/ceph/ceph-ansible.git
15 lines
259 B
YAML
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'
|