Skip to content

Commit

Permalink
restart compute
Browse files Browse the repository at this point in the history
  • Loading branch information
josedom24 committed Oct 23, 2023
1 parent 23b4a39 commit bf3eba0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions restart-compute.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
- hosts: controller_nodes
become: true
gather_facts: no
tasks:
- name: restart nova-services
service: name={{ item }} state=restarted enabled=yes
loop:
- nova-api
- nova-scheduler
- nova-conductor
- nova-spiceproxy

- hosts: compute_nodes
become: true
gather_facts: no
tasks:
- name: restart nova-compute
service: name=nova-compute state=restarted

0 comments on commit bf3eba0

Please sign in to comment.