2019-06-18 23:44:14 +02:00
|
|
|
---
|
|
|
|
- name: Pacman key init
|
|
|
|
raw: pacman-key --init
|
|
|
|
|
|
|
|
- name: Pacman key populate
|
2019-06-25 15:41:37 +02:00
|
|
|
raw: |
|
2019-06-18 23:44:14 +02:00
|
|
|
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
|
2019-06-25 20:55:22 +02:00
|
|
|
raw: pacman -S python --noconfirm --needed
|
2019-06-25 15:41:37 +02:00
|
|
|
|
2019-06-18 23:44:14 +02:00
|
|
|
- name: Gather facts
|
|
|
|
setup:
|
|
|
|
|
|
|
|
- name: Add authorized keys
|
|
|
|
authorized_key:
|
|
|
|
user: root
|
|
|
|
key: "{{ pub_keys|map(attribute='key')|join('\n') }}"
|