diff options
author | Michael Scherer <misc@zarb.org> | 2014-12-12 18:33:25 +0100 |
---|---|---|
committer | Michael Scherer <misc@zarb.org> | 2014-12-12 18:33:25 +0100 |
commit | 34d96ea5ca86e2740960f2a785dc9f47baf56883 (patch) | |
tree | 28af708574e32b030c7efded577e70aa8d7b5717 /roles | |
parent | ba4f5114c70df188b025cd8e162200888d2af0d2 (diff) |
Disable cloud-init automated hostname updating
Diffstat (limited to 'roles')
-rw-r--r-- | roles/base/tasks/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 37bce1f..c4268ab 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -13,6 +13,8 @@ - service: name=chronyd state=running enabled=yes +- copy: dest=/etc/cloud/cloud.cfg.d/06_preserve_hostname.cfg content="preserve_hostname: true" + - name: install firewalld on centos7 yum: pkg=firewalld state=installed when: ansible_distribution == 'Fedora' or ansible_distribution_major_version == '7' |