Skip to content

Commit 7738e48

Browse files
authored
docs(infra): update README.md (#281)
1 parent 21b6cbb commit 7738e48

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

infrastructure/nomad/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ Add your private key to the SSH agent:
5050
ssh-add /path/to/your/private_key
5151
```
5252

53+
Prepare `ansible.cfg` File: This file contains the configuration settings for Ansible and is also used to specify the location of the inventory file.
54+
There is a sample `ansible.cfg.example` file located in this directory. Copy this file if you're happy with the default settings or create your own.
55+
5356
Prepare `hosts.ini` File: This file contains the IP addresses of your Nomad servers and clients. Replace the sample IP addresses with the actual IP addresses of your machines.
5457
```ini
5558
[nomad_servers]
@@ -93,6 +96,9 @@ Test the connection to the target machines:
9396
ansible all --inventory path/to/your/hosts.ini --module-name ping
9497
```
9598

99+
> The `ansible.cfg.example` refers to the `hosts.ini` file in the same directory.
100+
> If you have a different location for your inventory file, update the `inventory` setting in your `ansible.cfg` file.
101+
96102
## Cluster Management
97103

98104
To manage the Nomad cluster, use the `cluster.sh` script. This script allows you to initialize, deploy, and destroy the Nomad cluster.

0 commit comments

Comments
 (0)