homebridge/tasks/main.yaml
changeset 12 80a6e9af6aa9
parent 2 2556522a2a45
child 31 c51c4eaea2a7
equal deleted inserted replaced
11:ba484e09107d 12:80a6e9af6aa9
    24   become: yes
    24   become: yes
    25   apt: name="{{homebridge_apt_packages}}"
    25   apt: name="{{homebridge_apt_packages}}"
    26 
    26 
    27 - name: install homebridge
    27 - name: install homebridge
    28   become: yes
    28   become: yes
    29   become_user: "{{homebridge_user}}"
       
    30   npm: name="homebridge" global="yes"
    29   npm: name="homebridge" global="yes"
    31   notify: restart homebridge service
    30   notify: restart homebridge service
    32 
    31 
    33 - name: install platform accessories
    32 - name: install platform accessories
    34   become: yes
    33   become: yes
    35   become_user: "{{homebridge_user}}"
       
    36   npm: name="{{item}}" global="yes"
    34   npm: name="{{item}}" global="yes"
    37   notify: restart homebridge service
    35   notify: restart homebridge service
    38   with_items: "{{homebridge_npm_packages}}"
    36   with_items: "{{homebridge_npm_packages}}"
    39 
    37 
    40 - name: configure homebridge
    38 - name: configure homebridge