unifi/tasks/main.yaml
changeset 199 9aa5f284ea10
child 223 de03976c2df1
equal deleted inserted replaced
198:e1f873a07ea2 199:9aa5f284ea10
       
     1 ---
       
     2 
       
     3 - name: add mongo apt key
       
     4   become: yes
       
     5   get_url:
       
     6     url: "https://pgp.mongodb.com/server-3.6.asc"
       
     7     dest: "/etc/apt/trusted.gpg.d/mongo-3.6.asc"
       
     8     mode: "0644"
       
     9 
       
    10 - name: add mongo apt repo
       
    11   become: yes
       
    12   apt_repository: repo="deb [arch=arm64 signed-by=/etc/apt/trusted.gpg.d/mongo-3.6.asc] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse"
       
    13 
       
    14 - name: install libssl1.1 deb
       
    15   become: yes
       
    16   apt: deb="http://ports.ubuntu.com/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_arm64.deb"
       
    17 
       
    18 - name: add unifi apt key
       
    19   become: yes
       
    20   get_url:
       
    21     url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x06e85760c0a52c50"
       
    22     dest: "/etc/apt/trusted.gpg.d/unifi.asc"
       
    23     mode: "0644"
       
    24 
       
    25 - name: add unifi apt repo
       
    26   become: yes
       
    27   apt_repository: repo="deb [arch=armhf] https://www.ui.com/downloads/unifi/debian stable ubiquiti"
       
    28 
       
    29 - name: update apt package cache
       
    30   become: yes
       
    31   apt: upgrade="dist" update_cache="yes" cache_valid_time="3600"
       
    32 
       
    33 - name: install unifi apt packages
       
    34   become: yes
       
    35   apt: name="{{unifi_apt_packages}}"