equal
deleted
inserted
replaced
9 become: yes |
9 become: yes |
10 template: |
10 template: |
11 src: "wpa_supplicant.conf.j2" |
11 src: "wpa_supplicant.conf.j2" |
12 dest: "/etc/wpa_supplicant/wpa_supplicant.conf" |
12 dest: "/etc/wpa_supplicant/wpa_supplicant.conf" |
13 mode: 0644 |
13 mode: 0644 |
|
14 when: rpi_enable_wifi |
14 |
15 |
15 - name: update apt package cache |
16 - name: update apt package cache |
16 become: yes |
17 become: yes |
17 apt: upgrade="dist" update_cache="yes" cache_valid_time="3600" |
18 apt: upgrade="dist" update_cache="yes" cache_valid_time="3600" |
18 |
19 |
19 - name: install extra apt packages |
20 - name: install extra apt packages |
20 become: yes |
21 become: yes |
21 apt: name="{{item}}" |
22 apt: name="{{rpi_base_apt_packages}}" |
22 with_items: "{{rpi_base_apt_packages}}" |
|
23 |
23 |
24 - name: authorize admin ssh keys |
24 - name: authorize admin ssh keys |
25 become: yes |
25 become: yes |
26 authorized_key: user="pi" key="https://github.com/{{github_user}}.keys" |
26 authorized_key: user="pi" key="https://github.com/{{github_user}}.keys" |
27 |
27 |