Only reboot running vms
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
c35de02e5e
commit
24d7d693c3
2 changed files with 8 additions and 1 deletions
|
@ -25,6 +25,13 @@
|
||||||
- role: keytab/service
|
- role: keytab/service
|
||||||
kt_location: /etc/kojid/kojid.keytab
|
kt_location: /etc/kojid/kojid.keytab
|
||||||
service: compile
|
service: compile
|
||||||
|
- role: keytab/service
|
||||||
|
owner_user: root
|
||||||
|
owner_group: root
|
||||||
|
service: innercompose
|
||||||
|
host: "odcs{{ env_suffix }}.fedoraproject.org"
|
||||||
|
kt_location: /etc/kojid/secrets/odcs_inner.keytab
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: get list of guests
|
- name: get list of guests
|
||||||
virt: command=list_vms
|
virt: command=list_vms state=running
|
||||||
register: vmlist
|
register: vmlist
|
||||||
|
|
||||||
# - name: get info on guests (prereboot)
|
# - name: get info on guests (prereboot)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue