summaryrefslogtreecommitdiffstats
path: root/roles/hostnames/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hostnames/tasks/main.yaml')
-rw-r--r--roles/hostnames/tasks/main.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/hostnames/tasks/main.yaml b/roles/hostnames/tasks/main.yaml
index bf142d653..c49852210 100644
--- a/roles/hostnames/tasks/main.yaml
+++ b/roles/hostnames/tasks/main.yaml
@@ -15,8 +15,8 @@
register: cloud_cfg
- name: Prevent cloud-init updates of hostname/fqdn (if applicable)
- lineinfile:
- dest: /etc/cloud/cloud.cfg
+ lineinfile:
+ dest: /etc/cloud/cloud.cfg
state: present
regexp: "{{ item.regexp }}"
line: "{{ item.line }}"