-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
31 lines (27 loc) · 811 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
- name: Provision Cerulean class qemu virtual machines
hosts: kvmhost
remote_user: ansibletest
roles:
- cerulean
#- name: Start Cerulean class virtual machines
#hosts: kvmhost
#remote_user: ansibletest
#vars_files:
#- roles/cerulean/vars/main.yaml
#tasks:
#- name: Start VMs
#shell: "nohup {{exec_path}}/{{vm_class}}.{{item}}.sh&"
#with_items: "{{groups['cerulean_hosts']}}"
#become: yes
#args:
#executable: /bin/bash
#- name: Configure Cerulean class VM common services,security and packages
#hosts: cerulean_hosts
#remote_user: root
#roles:
#- cerulean_common
#tasks:
#- name: Wait for VMs to become availabe over SSH
#local_action: wait_for host={{ ansible_ssh_host }} port=22
#- include: roles/cerulean_common/tasks/main.yml