diff options
| author | Luke Hoersten <[email protected]> | 2018-01-29 20:45:09 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2018-01-29 20:45:09 -0600 |
| commit | 50a5bd233274739d6ddac1ec7b5032b87d107324 (patch) | |
| tree | fe649b2d9359cd02d000e3c7a9fc3b190fdded4f /roles/rpi-base/tasks/main.yml | |
| parent | 20494fa997559a95424f6941ea87d17a9fe04bb4 (diff) | |
Disabled rpi swap because it kills the sd cards.
Diffstat (limited to 'roles/rpi-base/tasks/main.yml')
| -rw-r--r-- | roles/rpi-base/tasks/main.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/roles/rpi-base/tasks/main.yml b/roles/rpi-base/tasks/main.yml index 4c5e76f..1ff0ca8 100644 --- a/roles/rpi-base/tasks/main.yml +++ b/roles/rpi-base/tasks/main.yml @@ -1,5 +1,14 @@ --- +- name: turn swap off + become: yes + command: "swapoff -a" + changed_when: false + +- name: remove swap apt package + become: yes + apt: state="absent" name="dphys-swapfile" + - name: setup wifi become: yes template: @@ -18,4 +27,4 @@ - name: authorize admin ssh keys become: yes - authorized_key: "user=pi key=https://github.com/{{github_user}}.keys" + authorized_key: user="pi" key="https://github.com/{{github_user}}.keys" |
