
This patchset allows users to select the context in which certain osconfig tasks run, rather than a hard-coded assumption. It also adds scripts directories which are run in these contexts. Change-Id: I695c3078b4d883a506c243bc715a509f6844c126
12 lines
350 B
YAML
12 lines
350 B
YAML
- name: "QCOW | Writing out fstab"
|
|
include_tasks: mount-helper.yaml
|
|
loop: "{{ partitions | sort( case_sensitive=True, attribute='mount' ) }}"
|
|
vars:
|
|
mount_offset: null
|
|
state: present
|
|
fstab: "{{ dst }}/etc/fstab"
|
|
|
|
- name: "QCOW | Setting debug password"
|
|
shell: |
|
|
chroot "{{ dst }}" sh -c "echo \"root:password\" | chpasswd"
|