File tree 1 file changed +34
-2
lines changed
1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Molecule QEMU driver for testing Ansible roles.
4
4
5
- ## Installation
5
+ ## Usage
6
+
7
+ ``` bash
8
+ pip install molecule-qemu
9
+ ```
10
+
11
+ ## Dependencies
6
12
7
13
``` bash
8
14
brew install qemu cdrtools
9
15
```
10
16
17
+ ## Example scenario
18
+ ``` bash
19
+ molecule init scenario scenario_name -d molecule-qemu
20
+ ```
21
+
22
+ ## Example ` molecule.yml `
23
+ ``` yaml
24
+ ---
25
+ dependency :
26
+ name : galaxy
27
+ driver :
28
+ name : molecule-qemu
29
+ platforms :
30
+ - name : instance-1
31
+ vm_image : ~/Downloads/debian-11-generic-amd64.qcow2
32
+ vm_ssh_port : 10022
33
+ - name : instance-2
34
+ vm_image : ~/Downloads/debian-11-generic-amd64.qcow2
35
+ vm_ssh_port : 10023
36
+
37
+ provisioner :
38
+ name : ansible
39
+ verifier :
40
+ name : ansible
41
+ ` ` `
42
+
11
43
# Cloud Images
12
44
13
45
* [Ubuntu](https://cloud-images.ubuntu.com/)
14
- * [ Debian] ( https://cdimage .debian.org/cdimage/openstack/current / )
46
+ * [Debian](https://cloud .debian.org/images/cloud /)
15
47
16
48
# Reference
17
49
You can’t perform that action at this time.
0 commit comments