roles/automationhat/tasks/main.yaml
changeset 25 bc6c646f1814
parent 9 511e97bd5566
equal deleted inserted replaced
24:bba43c5fbf59 25:bc6c646f1814
     2 
     2 
     3 # Based on https://get.pimoroni.com/automationhat script
     3 # Based on https://get.pimoroni.com/automationhat script
     4 
     4 
     5 - name: install automationhat apt packages
     5 - name: install automationhat apt packages
     6   become: yes
     6   become: yes
     7   apt: name="{{item}}"
     7   apt: name="{{automationhat_apt_packages}}"
     8   with_items: "{{automationhat_apt_packages}}"
       
     9 
     8 
    10 - name: configure i2c boot config
     9 - name: configure i2c boot config
    11   become: yes
    10   become: yes
    12   lineinfile:
    11   lineinfile:
    13     path: "/boot/config.txt"
    12     path: "/boot/config.txt"