mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
Add a variable that takes the SSH_CLIENT environment variable to save the ip address of the machine actually running the playbooks. This can be used on maintenance mode to allow in the person running the playbook and let everybody else to see the maintenance page.
13 lines
422 B
YAML
13 lines
422 B
YAML
configure_firewall: true
|
|
|
|
# this is needed to make ansible find the firewalld python
|
|
# module when deploying firewalld tasks
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
zabbix_agent_templates:
|
|
- Template OS Linux
|
|
|
|
# this is used by the maintenance role to get the ip address
|
|
# of the machine running the playbook
|
|
maintenance_remote_machine: "{{ hostvars[inventory_hostname]['ansible_env'].SSH_CLIENT.split(' ')[0] }}"
|