fix linter

This commit is contained in:
nd 2021-07-17 00:35:12 +02:00
parent 8ffc9fef55
commit 57126dc9d4
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -13,10 +13,16 @@
copy:
dest: "{{ rootpath }}/etc/hostname"
content: '{{ inventory_hostname_short }}'
owner: root
group: root
mode: 0644
- name: customize vm image hosts file
template:
src: hosts.j2
dest: "{{ rootpath }}/etc/hosts"
owner: root
group: root
mode: 0644
when: vm is defined