Browse Source

failover on hostname change

pr_hostname_failover
Petr Michalec 7 years ago
parent
commit
b8426adea8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      linux/network/hostname.sls

+ 2
- 2
linux/network/hostname.sls View File

@@ -18,7 +18,7 @@ linux_hostname_file:

linux_enforce_hostname:
cmd.wait:
- name: hostname {{ network.hostname }}
- name: "hostname {{ network.hostname }} || true"

{#
linux_hostname_hosts:
@@ -29,4 +29,4 @@ linux_hostname_hosts:
- {{ network.hostname }}
#}

{%- endif %}
{%- endif %}

Loading…
Cancel
Save