Skip to content

Commit

Permalink
Added note about Ansible inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydrogers committed Jan 4, 2024
1 parent 5a1d458 commit 2928638
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/docs/1.getting-started/2.prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ Before you run [`spin provision`](/docs/command-reference/provision), the follow
- You have a running **Ubuntu 22.04 LTS Server** running on any host of your choice
- You have SSH access configured working between your computer and your server
- The SSH account has `sudo` access to perform root-level changes
- Your `.spin-inventory` is configured correctly
- Your `.spin-inventory` is configured correctly (following [Ansible's standard inventory format](https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html))
- Your `.spin.yml` is configured correctly
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Spin will not overwrite any files. It will only create files that don't exist. I
### Spin will create the following files & directories:
- `.infrastructure/`
- `.spin.yml`
- `.spin-inventory.ini`
- `.spin-inventory.ini` (it's just an [Ansible inventory file](https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html))
- `docker-compose.yml`
- `docker-compose.dev.yml`
- `docker-compose.ci.yml`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ There are two files that will need to be configured:
- `.spin.yml`

#### Inventory
We call the list of our servers "inventory". For example, if you wanted to add `server01.example.com` as the production server, we would configure our file to look like this and add this server to go underneath the `production_manager_servers` group:
We call the list of our servers "inventory". This follows the [Ansible Inventory format](https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html). For example, if you wanted to add `server01.example.com` as the production server, we would configure our file to look like this and add this server to go underneath the `production_manager_servers` group:

::code-panel
---
Expand Down

0 comments on commit 2928638

Please sign in to comment.