From 4673b6e05a6aa93ac068ca47f8affedb32995a29 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sat, 18 May 2024 19:42:05 +0200 Subject: [PATCH] adjust readme to be compatible with the new structure --- README.md | 15 +++++---------- ansible.cfg | 3 --- test/inventory/{hosts.ini => hosts} | 0 3 files changed, 5 insertions(+), 13 deletions(-) rename test/inventory/{hosts.ini => hosts} (100%) diff --git a/README.md b/README.md index 91eb3a7..7d000e7 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ apt install --no-install-recommends ceph-base ceph-common ### Create the test VMs with OpenTofu Go to terraform directory: ``` -cd terraform/ +cd test/terraform/ ``` Init the terraform project: @@ -30,19 +30,14 @@ tofu apply ``` ### Run the Ansible Playbook -Go to the ansible directory: +Go back to the root directory: ``` -cd ../ansible/ +cd ../../ ``` -Copy the example inventory file: +Run the Playbook with the test inventory: ``` -cp hosts.yaml.example hosts.yaml -``` - -Run the Playbooks: -``` -ansible-playbook deploy.yaml +ansible-playbook -i test/inventory/ deploy.yaml ``` NOTE: When re-deploying the same cluster (e.g. following a `terraform diff --git a/ansible.cfg b/ansible.cfg index 4aee665..74321b5 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -3,6 +3,3 @@ error_on_undefined_vars = false timeout = 30 forks = 10 connection_plugins = plugins/connection/ - -[inventory] -enable_plugins = yaml diff --git a/test/inventory/hosts.ini b/test/inventory/hosts similarity index 100% rename from test/inventory/hosts.ini rename to test/inventory/hosts