Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nosmoht/ansible-role-avahi

Ansible role to manage Avahi daemon on RHEL based systems
https://github.com/nosmoht/ansible-role-avahi

Last synced: 21 days ago
JSON representation

Ansible role to manage Avahi daemon on RHEL based systems

Awesome Lists containing this project

README

        

avahi
==========
- [Introduction](#introduction)
- [Requirements](#requirements)
- [Variables](#variables)
- [Usage](#usage)

# Introduction
Manage Avahi deamon on RHEL based systems

# Requirements

- Ansible 1.9

# Variables

| Name | Description | Default |
|:-----|:------------|:--------|
| avahi_package_name | Package name | avahi |
| avahi_package_state | Package state | present |
| avahi_service_names | List of service | depends on __ansible_os_family__ and __ansible_distribution_major_version__ |
| avahi_service_state | Service(s) state | running |
| avahi_service_enabled | Service enabled | true |

# Usage
Some tasks of the role require root privileges. Therefore become must be used
with either sudo or su.

Example to ensure Avahi daemon is stopped and not started at boot time
```yaml
---
- hosts: server
become: true
become_method: sudo
become_user: true
vars:
avahi_service_state: stopped
avahi_service_enabled: false
roles:
- role: avahi
```