You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
267 B
14 lines
267 B
3 years ago
|
---
|
||
|
- name: Generate fstab.
|
||
|
command: genfstab -U {{ chroot | quote }}
|
||
|
register: _fstab
|
||
|
changed_when: false
|
||
|
|
||
|
- name: Save fstab.
|
||
|
copy:
|
||
|
dest: "{{ chroot | quote }}/etc/fstab"
|
||
|
content: "{{ _fstab.stdout }}"
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|