homebridge/tasks/main.yaml
changeset 197 1cc658995a70
parent 196 e07868e39791
equal deleted inserted replaced
196:e07868e39791 197:1cc658995a70
     2 
     2 
     3 - name: add homebridge apt key
     3 - name: add homebridge apt key
     4   become: yes
     4   become: yes
     5   get_url:
     5   get_url:
     6     url: "https://repo.homebridge.io/KEY.gpg"
     6     url: "https://repo.homebridge.io/KEY.gpg"
     7     dest: /etc/apt/trusted.gpg.d/homebridge.asc
     7     dest: "/etc/apt/trusted.gpg.d/homebridge.asc"
     8     mode: "0644"
     8     mode: "0644"
     9 
     9 
    10 - name: add homebridge apt repo
    10 - name: add homebridge apt repo
    11   become: yes
    11   become: yes
    12   apt_repository: repo="deb https://repo.homebridge.io stable main"
    12   apt_repository: repo="deb [signed-by=/etc/apt/trusted.gpg.d/homebridge.asc] https://repo.homebridge.io stable main"
    13 
    13 
    14 - name: apt install homebridge
    14 - name: apt install homebridge
    15   become: yes
    15   become: yes
    16   apt: name="homebridge"
    16   apt: name="homebridge"
    17   notify: restart homebridge service
    17   notify: restart homebridge service