mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-03-06 21:04:15 +01:00
Update docs/configuring-playbook.md: update the instruction to use git
This is based on 5facc06a3c/docs/configuring-playbook.md
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
parent
374d19c4d4
commit
3f0082e56b
@ -30,7 +30,7 @@ If you've configured your DNS records and retrieved the playbook's source code t
|
||||
|
||||
5. edit the inventory hosts file (`inventory/hosts`) to your liking
|
||||
|
||||
6. (optional, advanced) you may wish to keep your `inventory` directory under version control with [git](https://git-scm.com/) or any other version-control system.
|
||||
6. (optional, advanced) you may wish to keep your `inventory` directory under version control with [git](https://git-scm.com/) or any other version-control system. The `inventory` directory path is ignored via `.gitignore`, so it won't be part of the playbook repository. You can safely create a new git repository inside that directory with `git init`, etc.
|
||||
|
||||
7. (optional, advanced) to run Ansible against multiple servers with different `sudo` credentials, you can copy the sample inventory hosts yaml file for each of your hosts: (`cp examples/host.yml inventory/my_host1.yml` …) and use the [`ansible-all-hosts.sh`](../bin/ansible-all-hosts.sh) script [in the installation step](installing.md).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user