Browse Source

Merge pull request #57 from salt-formulas/pr_hostname

dont touch hostname if not needed
tags/2017.4
Filip Pytloun 7 years ago
parent
commit
76dbbdf5f6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      linux/network/hostname.sls

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

linux_enforce_hostname: linux_enforce_hostname:
cmd.wait: cmd.wait:
- name: hostname {{ network.hostname }} - name: hostname {{ network.hostname }}
- unless: test "$(hostname)" = "{{ network.hostname }}"


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


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

Loading…
Cancel
Save