Merge branch 'master' into bye-bye-nginx-proxy
This commit is contained in:
commit
057d168ff0
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,7 +1,4 @@
|
|||||||
/inventory/*
|
/inventory
|
||||||
!/inventory/.gitkeep
|
|
||||||
!/inventory/host_vars/.gitkeep
|
|
||||||
!/inventory/scripts
|
|
||||||
/roles/**/files/scratchpad
|
/roles/**/files/scratchpad
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.python-version
|
.python-version
|
||||||
|
0
inventory/scripts/ansible-all-hosts.sh → bin/ansible-all-hosts.sh
Executable file → Normal file
0
inventory/scripts/ansible-all-hosts.sh → bin/ansible-all-hosts.sh
Executable file → Normal file
@ -18,7 +18,9 @@ You can then follow these steps inside the playbook directory:
|
|||||||
|
|
||||||
1. edit the inventory hosts file (`inventory/hosts`) to your liking
|
1. edit the inventory hosts file (`inventory/hosts`) to your liking
|
||||||
|
|
||||||
1. (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`](../inventory/scripts/ansible-all-hosts.sh) script [in the installation step](installing.md).
|
2. (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.
|
||||||
|
|
||||||
|
3. (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).
|
||||||
|
|
||||||
For a basic Matrix installation, that's all you need.
|
For a basic Matrix installation, that's all you need.
|
||||||
For a more custom setup, see the [Other configuration options](#other-configuration-options) below.
|
For a more custom setup, see the [Other configuration options](#other-configuration-options) below.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# This is a host file for usage with the `ansible-all-hosts.sh` script,
|
# This is a host file for usage with the `../bin/ansible-all-hosts.sh` script,
|
||||||
# which runs Ansible against a bunch of hosts, each with its own `sudo` password.
|
# which runs Ansible against a bunch of hosts, each with its own `sudo` password.
|
||||||
matrix_servers:
|
matrix_servers:
|
||||||
hosts:
|
hosts:
|
||||||
|
Loading…
Reference in New Issue
Block a user