Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nosmoht/ansible-role-avahi
- Owner: Nosmoht
- Created: 2015-11-11T17:02:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-12T06:35:32.000Z (about 9 years ago)
- Last Synced: 2023-12-16T19:23:22.274Z (11 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```