fix linter
This commit is contained in:
parent
8ffc9fef55
commit
57126dc9d4
1 changed files with 6 additions and 0 deletions
|
|
@ -13,10 +13,16 @@
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ rootpath }}/etc/hostname"
|
dest: "{{ rootpath }}/etc/hostname"
|
||||||
content: '{{ inventory_hostname_short }}'
|
content: '{{ inventory_hostname_short }}'
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
- name: customize vm image hosts file
|
- name: customize vm image hosts file
|
||||||
template:
|
template:
|
||||||
src: hosts.j2
|
src: hosts.j2
|
||||||
dest: "{{ rootpath }}/etc/hosts"
|
dest: "{{ rootpath }}/etc/hosts"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
when: vm is defined
|
when: vm is defined
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue