Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/whoan/ansible-role-pigpio

Ansible Role to install Pigpio library (dev) on Raspberry Pi
https://github.com/whoan/ansible-role-pigpio

ansible-role pigpio raspberry-pi

Last synced: 20 days ago
JSON representation

Ansible Role to install Pigpio library (dev) on Raspberry Pi

Awesome Lists containing this project

README

        

Pigpio
=========

An Ansible Role that installs any version (provided by param) of [pigpio library](http://abyz.me.uk/rpi/pigpio/) on a Raspberry Pi.

Find the role in [Ansible Galaxy](https://galaxy.ansible.com/whoan/pigpio).

Requirements
------------

You should uninstall any previous version of `pigpio` in your environment, if any.

Role Variables
--------------

These are the role variables (and its default values):

```
pigpio_version: master
threads_for_make: "{{ ansible_facts['processor_vcpus'] }}"
```

> `ansible_facts['processor_vcpus']` is the same as the value of `nproc`.

Dependencies
------------

None.

Example Playbook
----------------

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts:

tasks:
- import_role:
name: whoan.pigpio

License
-------

[MIT](https://github.com/whoan/ansible-role-pigpio/blob/master/LICENSE)