22 lines
596 B
YAML
22 lines
596 B
YAML
---
|
|
- name: install basics
|
|
connection: local
|
|
delegate_to: localhost
|
|
raw: "incus exec {{ inventory_hostname }} -- /usr/sbin/pacman -Syu --noconfirm python3 openssh wget"
|
|
|
|
- name: setup ssh
|
|
include_tasks: ssh.yml
|
|
|
|
- name: enable sshd
|
|
connection: local
|
|
delegate_to: localhost
|
|
raw: "incus exec {{ inventory_hostname }} -- systemctl enable sshd"
|
|
|
|
- name: start dropbear
|
|
connection: local
|
|
delegate_to: localhost
|
|
raw: "incus exec {{ inventory_hostname }} -- systemctl restart sshd"
|
|
|
|
- name: install software
|
|
pacman: name={{ archlinux_software }} state=present update_cache=yes
|