unifi/tasks/main.yaml
changeset 223 de03976c2df1
parent 199 9aa5f284ea10
child 227 2e0366f2dcbe
equal deleted inserted replaced
222:6eaeb42f5c10 223:de03976c2df1
    13 
    13 
    14 - name: install libssl1.1 deb
    14 - name: install libssl1.1 deb
    15   become: yes
    15   become: yes
    16   apt: deb="http://ports.ubuntu.com/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_arm64.deb"
    16   apt: deb="http://ports.ubuntu.com/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_arm64.deb"
    17 
    17 
       
    18 # To accept codename change:
       
    19 # 1. sudo apt update
       
    20 # 2. sudo apt-get upgrade -y
       
    21 
    18 - name: add unifi apt key
    22 - name: add unifi apt key
    19   become: yes
    23   become: yes
    20   get_url:
    24   get_url:
    21     url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x06e85760c0a52c50"
    25     url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x06e85760c0a52c50"
    22     dest: "/etc/apt/trusted.gpg.d/unifi.asc"
    26     dest: "/etc/apt/trusted.gpg.d/unifi.asc"
    23     mode: "0644"
    27     mode: "0644"
    24 
    28 
    25 - name: add unifi apt repo
    29 - name: add unifi apt repo
    26   become: yes
    30   become: yes
    27   apt_repository: repo="deb [arch=armhf] https://www.ui.com/downloads/unifi/debian stable ubiquiti"
    31   apt_repository: repo="deb [arch=armhf signed-by=/etc/apt/trusted.gpg.d/unifi.asc] https://www.ui.com/downloads/unifi/debian unifi-7.4 ubiquiti"
    28 
    32 
    29 - name: update apt package cache
    33 - name: update apt package cache
    30   become: yes
    34   become: yes
    31   apt: upgrade="dist" update_cache="yes" cache_valid_time="3600"
    35   apt: upgrade="dist" update_cache="yes" cache_valid_time="3600"
    32 
    36