Dustin C. Hatch 0500adadfa ci: zabbix: Use multiple sudo-pass files
The `zabbix.yml` playbook applies to hosts that are not members of the
*pyrocufflink.blue* domain, and thus have different passwords for
`sudo`. Using the `-e` argument to `ansible-playbook` and specifying a
single Vault-encrypted file that defines the `ansible_become_password`
variable effectively forces Ansible to try to use that password on every
host. This is because variables defined on the command line, or read
from a file specified on the command line, have the highest precedence.

To use different passwords on different hosts, the normal variable
scoping rules have to be used. To that end, one `sudo-pass` file is
created in the `group_vars/pyrocufflink` directory, so it will apply to
all machines that are members of the *pyrocufflink.blue* domain.
Additionally, another `sudo-pass` file is created in the `host_vars/gw0`
directory; it will only apply to the gateway device.
2018-06-22 19:33:23 -05:00
2018-06-04 20:03:55 -05:00
2018-01-29 15:11:07 -06:00
2018-01-29 15:11:07 -06:00
2018-05-19 10:20:22 -05:00
2018-04-08 12:20:03 -05:00
2018-01-29 15:03:45 -06:00
2018-03-27 20:44:43 -05:00
2018-06-06 21:45:36 -05:00
2018-04-08 10:11:43 -05:00
2018-06-19 20:40:58 -05:00
2018-03-27 20:44:43 -05:00
Description
Ansible configuration policy for the private network/home lab of Dustin C. Hatch
http://dustin.hatch.name/
7.7 MiB
Languages
Jinja 86.2%
Python 6.6%
Shell 4.6%
Groovy 2.6%