mirror of
https://github.com/binary-kitchen/doorlockd
synced 2025-01-03 15:05:23 +01:00
26 lines
517 B
YAML
26 lines
517 B
YAML
---
|
|
- name: Pacman key init
|
|
raw: pacman-key --init
|
|
|
|
- name: Pacman key populate
|
|
raw: |
|
|
if [[ "`uname -m`" == "armv7l" ]]; then
|
|
pacman-key --populate archlinuxarm
|
|
else
|
|
pacman-key --populate archlinux
|
|
fi
|
|
|
|
- name: Update System
|
|
raw: pacman -Syu --noconfirm
|
|
|
|
- name: Install Python
|
|
raw: pacman -S python --noconfirm --needed
|
|
|
|
- name: Gather facts
|
|
setup:
|
|
|
|
- name: Add authorized keys
|
|
authorized_key:
|
|
user: root
|
|
key: "{{ pub_keys|map(attribute='key')|join('\n') }}"
|