summaryrefslogtreecommitdiffstats
path: root/roles/base/tasks
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-12 19:06:11 +0100
committerMichael Scherer <misc@zarb.org>2014-12-12 19:06:11 +0100
commitd116b82ad624dcc62a0de212a66e17b4d62269c7 (patch)
tree11fdef551117ebb3a86dafb2ed9511258aa1bc6e /roles/base/tasks
parent17362d6bf9ff6b81119cd5df0390f085eb90c77f (diff)
Cannot use yaml in a string in a yaml document, so use a external file instead
Diffstat (limited to 'roles/base/tasks')
-rw-r--r--roles/base/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml
index ccc0a13..7fb59ac 100644
--- a/roles/base/tasks/main.yml
+++ b/roles/base/tasks/main.yml
@@ -13,7 +13,7 @@
- service: name=chronyd state=running enabled=yes
-- copy: dest=/etc/cloud/cloud.cfg.d/06_preserve_hostname.cfg content='preserve_hostname: true'
+- copy: dest=/etc/cloud/cloud.cfg.d/06_preserve_hostname.cfg src=06_preserve_hostname.cfg
- name: install firewalld on centos7
yum: pkg=firewalld state=installed