diff options
| -rw-r--r-- | roles/configure/tasks/main.yml | 1 | ||||
| -rw-r--r-- | ubuntu.md | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/roles/configure/tasks/main.yml b/roles/configure/tasks/main.yml index c23e075..dcfe208 100644 --- a/roles/configure/tasks/main.yml +++ b/roles/configure/tasks/main.yml @@ -61,6 +61,7 @@ ansible-playbook site.yml --limit "{{ hostname }}" --extra-vars '{"hostname":"{{ hostname }}"}' + --extra-vars "@/opt/ansible-distro-configure/group_vars/homelab.yml" --extra-vars "@/opt/ansible-distro-configure/host_vars/{{ hostname }}.yml" --tags 'required_for_boot' chdir: "/opt/ansible-distro-configure" @@ -19,6 +19,7 @@ hostnamectl set-hostname ubuntu-<MACHINE>-iso passwd nmcli dev wifi connect <SSID> password <PASSPHRASE> +sudo rm /etc/apt/sources.list.d/cdrom.sources sudo apt update sudo DEBIAN_FRONTEND=noninteractive apt install -y openssh-server sudo systemctl restart ssh avahi-daemon @@ -45,6 +46,7 @@ ip link hostnamectl set-hostname ubuntu-macbook-iso passwd nmcli dev wifi connect <SSID> password <PASSPHRASE> +sudo rm /etc/apt/sources.list.d/cdrom.sources sudo apt update sudo DEBIAN_FRONTEND=noninteractive apt install -y openssh-server sudo systemctl restart ssh avahi-daemon |
