项目作者: whoan

项目描述 :
Ansible Role to install Pigpio library (dev) on Raspberry Pi
高级语言:
项目地址: git://github.com/whoan/ansible-role-pigpio.git
创建时间: 2019-09-18T15:58:23Z
项目社区:https://github.com/whoan/ansible-role-pigpio

开源协议:MIT License

下载


Pigpio

An Ansible Role that installs any version (provided by param) of pigpio library on a Raspberry Pi.

Find the role in Ansible Galaxy.

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):

  1. pigpio_version: master
  2. 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:

  1. - hosts: <you_raspberry_ip>
  2. tasks:
  3. - import_role:
  4. name: whoan.pigpio

License

MIT