Browse Source

failover on hostname change

pr_hostname_failover
Petr Michalec 8 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



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


{# {#
linux_hostname_hosts: linux_hostname_hosts:
- {{ network.hostname }} - {{ network.hostname }}
#} #}


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

Loading…
Cancel
Save