diff options
Diffstat (limited to 'roles/base/tasks')
-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' |