Commit bf27cdf 1 parent 54e956a commit bf27cdf Copy full SHA for bf27cdf
File tree 3 files changed +5
-13
lines changed
3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ apt install --no-install-recommends ceph-base ceph-common
16
16
### Create the test VMs with OpenTofu
17
17
Go to terraform directory:
18
18
```
19
- cd terraform/
19
+ cd test/ terraform/
20
20
```
21
21
22
22
Init the terraform project:
@@ -30,19 +30,14 @@ tofu apply
30
30
```
31
31
32
32
### Run the Ansible Playbook
33
- Go to the ansible directory:
33
+ Go back to the root directory:
34
34
```
35
- cd ../ansible /
35
+ cd ../.. /
36
36
```
37
37
38
- Copy the example inventory file :
38
+ Run the Playbook with the test inventory :
39
39
```
40
- cp hosts.yaml.example hosts.yaml
41
- ```
42
-
43
- Run the Playbooks:
44
- ```
45
- ansible-playbook deploy.yaml
40
+ ansible-playbook -i test/inventory/ deploy.yaml
46
41
```
47
42
48
43
NOTE: When re-deploying the same cluster (e.g. following a `terraform
Original file line number Diff line number Diff line change @@ -3,6 +3,3 @@ error_on_undefined_vars = false
3
3
timeout = 30
4
4
forks = 10
5
5
connection_plugins = plugins/connection/
6
-
7
- [inventory]
8
- enable_plugins = yaml
File renamed without changes.
You can’t perform that action at this time.
0 commit comments