diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2026-03-06 16:16:06 +0100 |
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2026-03-06 16:16:11 +0100 |
| commit | df87ea4c95bb2f5a8aba06c117292dfef37ea661 (patch) | |
| tree | 2252a0b4fefa324fa7e2ef968f64ac37aacee771 /templates/etc/postfix | |
| parent | 1af347391f9f54b370dfc7395464b8ed637a79ca (diff) | |
Replace deprecated `ansible_$foo` with `ansible_facts[$foo]`.
Diffstat (limited to 'templates/etc/postfix')
| -rw-r--r-- | templates/etc/postfix/main.cf.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/etc/postfix/main.cf.j2 b/templates/etc/postfix/main.cf.j2 index 35a6790..10313b4 100644 --- a/templates/etc/postfix/main.cf.j2 +++ b/templates/etc/postfix/main.cf.j2 @@ -9,8 +9,8 @@ compatibility_level = 3.6 smtputf8_enable = no myorigin = /etc/mailname -myhostname = {{ ansible_fqdn }} -mydomain = {{ ansible_domain }} +myhostname = {{ ansible_facts.fqdn }} +mydomain = {{ ansible_facts.domain }} append_dot_mydomain = no # This server is for internal use only |
