Systemd is not just for Red Hat derivatives
Change the check for reloading systemd configuration to look for use of the systemd template rather than checking by distro since Ubuntu 15.04 uses systemd too. Change-Id: I7f359d989f767b32ed31c8dc5615a62e33a48c7f
This commit is contained in:
parent
e4f32c7c87
commit
c0f2ed0eaf
@ -159,7 +159,7 @@
|
||||
- { service_name: 'ironic-conductor', username: 'ironic', args: '--config-file /etc/ironic/ironic.conf'}
|
||||
- name: "Reload systemd configuration"
|
||||
command: systemctl daemon-reload
|
||||
when: ansible_os_family == 'RedHat'
|
||||
when: init_template == 'systemd_template.j2'
|
||||
- name: "Start ironic-conductor"
|
||||
service: name=ironic-conductor state=started
|
||||
- name: "Start ironic-api"
|
||||
|
Loading…
Reference in New Issue
Block a user