diff options
Diffstat (limited to 'roles/bootstrap/tasks/install-ubuntu.yml')
| -rw-r--r-- | roles/bootstrap/tasks/install-ubuntu.yml | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/roles/bootstrap/tasks/install-ubuntu.yml b/roles/bootstrap/tasks/install-ubuntu.yml index 9e6801f..f1c28d7 100644 --- a/roles/bootstrap/tasks/install-ubuntu.yml +++ b/roles/bootstrap/tasks/install-ubuntu.yml @@ -18,14 +18,8 @@ {{ bootstrap_distro.name }} {{ mnt_root_path }} {{ bootstrap_distro.mirror_url }}" - register: bootstrap_result changed_when: true -- name: "Display bootstrap output" - ansible.builtin.debug: - var: bootstrap_result.stdout_lines - verbosity: 1 - - name: "Generate fstab" ansible.builtin.shell: cmd: "genfstab -t PARTLABEL {{ mnt_root_path }} > {{ mnt_root_path }}/etc/fstab" @@ -104,14 +98,3 @@ with_items: - "{{ mnt_boot_path }}/{{ bootstrap_machine_id.stdout }}" - "{{ mnt_boot_path }}/loader/entries/{{ bootstrap_machine_id.stdout }}-{{ bootstrap_kernel_version.stdout }}.conf" - -- name: "Configure hostname in chroot" - ansible.builtin.copy: - dest: "{{ mnt_root_path }}/etc/hostname" - mode: "0644" - content: "{{ hostname }}" - -- name: "Ensure ansible dependencies are installed in chroot" - ansible.builtin.command: - cmd: "arch-chroot {{ mnt_root_path }} apt-get install -y python3" - changed_when: true |
