configpolicy/ci
Dustin 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
..
dch-gw.jenkinsfile ci: Send emails on failed builds 2018-05-19 10:00:34 -05:00
ntp.jenkinsfile ci: Send emails on failed builds 2018-05-19 10:00:34 -05:00
pyrocufflink.jenkinsfile ci: Send emails on failed builds 2018-05-19 10:00:34 -05:00
radius.jenkinsfile ci: Send emails on failed builds 2018-05-19 10:00:34 -05:00
samba-dc.jenkinsfile ci: Send emails on failed builds 2018-05-19 10:00:34 -05:00
smtp.jenkinsfile ci: Send emails on failed builds 2018-05-19 10:00:34 -05:00
zabbix.jenkinsfile ci: zabbix: Use multiple sudo-pass files 2018-06-22 19:33:23 -05:00