equal
deleted
inserted
replaced
1 --- |
1 --- |
|
2 |
|
3 - name: turn swap off |
|
4 become: yes |
|
5 command: "swapoff -a" |
|
6 changed_when: false |
|
7 |
|
8 - name: remove swap apt package |
|
9 become: yes |
|
10 apt: state="absent" name="dphys-swapfile" |
2 |
11 |
3 - name: setup wifi |
12 - name: setup wifi |
4 become: yes |
13 become: yes |
5 template: |
14 template: |
6 src: "wpa_supplicant.conf.j2" |
15 src: "wpa_supplicant.conf.j2" |
16 apt: name="{{item}}" |
25 apt: name="{{item}}" |
17 with_items: "{{ubuntu_base_apt_packages}}" |
26 with_items: "{{ubuntu_base_apt_packages}}" |
18 |
27 |
19 - name: authorize admin ssh keys |
28 - name: authorize admin ssh keys |
20 become: yes |
29 become: yes |
21 authorized_key: "user=pi key=https://github.com/{{github_user}}.keys" |
30 authorized_key: user="pi" key="https://github.com/{{github_user}}.keys" |