mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-08 19:57:35 +01:00
72309ed0a1
* run the playbook on multiple hosts with different credentials with this script * fix: add yaml missing document start "---" * fix: *now really* allow this script to be run from any directory * add about-note to examples/host.yml Co-authored-by: Slavi Pantaleev <slavi@devture.com> * improve ansible-all-hosts.sh related docs/configuring-playbook.md Co-authored-by: Slavi Pantaleev <slavi@devture.com> * fix typos :) Co-authored-by: Slavi Pantaleev <slavi@devture.com>
12 lines
349 B
YAML
12 lines
349 B
YAML
---
|
|
|
|
# This is a host file for usage with the `ansible-all-hosts.sh` script,
|
|
# which runs Ansible against a bunch of hosts, each with its own `sudo` password.
|
|
matrix_servers:
|
|
hosts:
|
|
matrix.<your domain>:
|
|
ansible_host: <your server's external ip address>
|
|
ansible_ssh_user: <your ssh user>
|
|
become: true
|
|
become_user: root
|