mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Only reboot running vms
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -25,6 +25,13 @@
|
||||
- role: keytab/service
|
||||
kt_location: /etc/kojid/kojid.keytab
|
||||
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:
|
||||
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
tasks:
|
||||
- name: get list of guests
|
||||
virt: command=list_vms
|
||||
virt: command=list_vms state=running
|
||||
register: vmlist
|
||||
|
||||
# - name: get info on guests (prereboot)
|
||||
|
||||
Reference in New Issue
Block a user