Install sysfs package.
This role requires Ansible 2.4 or higher, and platform requirements are listed in the metadata file.
This role use Molecule to run tests.
Local and Travis tests run tests on Docker by default. See molecule documentation to use other backend.
Currently, tests are done on:
- Debian Stretch
- Ubuntu Trusty
- Ubuntu Xenial
- Ubuntu Bionic
and use:
- Ansible 2.4.x
- Ansible 2.5.x
- Ansible 2.6.x
- Ansible 2.7.x
$ tox
# Package management
sysfs_packages: "{{ _sysfs_packages | default([]) }}"
# Service management
sysfs_service_file_path: "{{ _sysfs_service_file_path | default('') }}"
sysfs_service_name: "{{ _sysfs_service_name | default('') }}"
sysfs_service_enabled: True
# Configuration management
sysfs_config: "{{ _sysfs_config }}"
sysfs_dependent_services: []
sysfs_rules: []
# System prerequisites
_sysfs_packages:
- name: 'sysfsutils'
# Service management
_sysfs_service_name: 'sysfsutils'
_sysfs_service_file_path: '/etc/init.d/sysfsutils'
# Configuration management
_sysfs_config:
files: {}
folder:
path: '/etc/sysfs.d'
None
- hosts: servers
roles:
- { role: temelio.sysfs }
MIT
L Machetel (for Temelio Company) Fork from: Alexandre Chaussier (for Infopen company)