Add CentOS support for os_nova
* only kvm host are supported right now. Depends-On: Iff4a5999be0263a2c1843d7ca29843468cbc0ccc Depends-On: I78fb85d44b5b0e1643bd07af3e15462c02041c89 Change-Id: Ie05c243daa7d2d46b5e8779371a363d95cc990e9
This commit is contained in:
@@ -13,12 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Restart libvirt-bin
|
||||
service:
|
||||
name: "libvirt-bin"
|
||||
state: "restarted"
|
||||
pattern: "libvirt-bin"
|
||||
|
||||
- name: Reload systemd daemon
|
||||
command: "systemctl daemon-reload"
|
||||
notify:
|
||||
@@ -29,6 +23,12 @@
|
||||
notify:
|
||||
- Restart nova services
|
||||
|
||||
- name: Restart libvirt-bin
|
||||
service:
|
||||
name: "{{ libvirt_service_name }}"
|
||||
state: "restarted"
|
||||
pattern: "{{ libvirt_service_name }}"
|
||||
|
||||
- name: Restart nova services
|
||||
service:
|
||||
name: "{{ item.value.service_name }}"
|
||||
|
||||
Reference in New Issue
Block a user