roles/rpi-base/tasks/main.yml
changeset 4 9ae95d5fa0b7
parent 0 30d8bcb1ebb4
child 5 8e3d93a69233
equal deleted inserted replaced
3:67f6a1e7c40a 4:9ae95d5fa0b7
       
     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"