fix(role): Unify var names
This commit is contained in:
parent
2addd25a7d
commit
34354d4ea6
@ -13,6 +13,8 @@ Currently deals exclusively with Linux machines.
|
||||
|
||||
# Role Variables
|
||||
|
||||
## Defined
|
||||
|
||||
Per [defaults/main.yml](defaults/main.yml) this role is equipped to deal with Arch Linux and Debian.
|
||||
|
||||
- `packages_linux_common_all_families`: Place package names in this list that are identical across all Linux flavors.
|
||||
@ -42,6 +44,12 @@ Per [defaults/main.yml](defaults/main.yml) this role is equipped to deal with Ar
|
||||
- 'paccache-hook'
|
||||
```
|
||||
|
||||
## Undefined
|
||||
|
||||
From somewhere outside of this role the role expects the following variable to be set. This is used in more than one role, we suggest to define this as a host or group var.
|
||||
|
||||
- `landscape_quico__e_mail_default_recipient_addr_spec`: An e-mail address such as `alerting@example.com` rendered as an [RFC 2822](https://datatracker.ietf.org/doc/html/rfc2822#section-3.4.1) `addr-spec` string. This is the recipient e-mail address we'll use for system-generated e-mails.
|
||||
|
||||
# Dependencies
|
||||
|
||||
This role depends on the [kewlfft.aur](https://galaxy.ansible.com/ui/repo/published/kewlfft/aur/) Ansible collection to install packages from Arch User Repository on Arch Linux target machines.
|
||||
|
@ -27,6 +27,6 @@
|
||||
path: '/etc/aliases'
|
||||
insertafter: 'EOF'
|
||||
regexp: '^root:.*'
|
||||
line: 'root: {{ e_mail_notifications_addressee }}'
|
||||
line: 'root: {{ landscape_quico__e_mail_default_recipient_addr_spec }}'
|
||||
notify:
|
||||
- 'Ensure that a Mail Transfer Agent is running with newest config'
|
||||
|
Loading…
x
Reference in New Issue
Block a user