0
|
1 |
--- |
|
2 |
|
|
3 |
- name: setup wifi |
|
4 |
become: yes |
|
5 |
template: |
|
6 |
src: "wpa_supplicant.conf.j2" |
|
7 |
dest: "/etc/wpa_supplicant/wpa_supplicant.conf" |
|
8 |
mode: 0644 |
|
9 |
|
|
10 |
- name: update apt package cache |
|
11 |
become: yes |
|
12 |
apt: upgrade="dist" update_cache="yes" cache_valid_time="3600" |
|
13 |
|
|
14 |
- name: install extra apt packages |
|
15 |
become: yes |
|
16 |
apt: name="{{item}}" |
|
17 |
with_items: "{{ubuntu_base_apt_packages}}" |
|
18 |
|
|
19 |
- name: authorize admin ssh keys |
|
20 |
become: yes |
|
21 |
authorized_key: "user=pi key=https://github.com/{{github_user}}.keys" |