initial commit

This commit is contained in:
Robert Kaussow 2019-01-06 23:41:16 +01:00
parent 69d423e1ad
commit f14f644d7e
3 changed files with 30 additions and 0 deletions

14
meta/main.yml Normal file
View File

@ -0,0 +1,14 @@
---
galaxy_info:
author: Robert Kaussow
description: Setup dnsmasq as local dns resolver
license: Robert Kaussow
min_ansible_version: 2.6
platforms:
- name: EL
versions:
- 7
galaxy_tags:
- dns
- dnsmasq
dependencies: []

2
tasks/main.yml Normal file
View File

@ -0,0 +1,2 @@
---
- include_tasks: setup.yml

14
tasks/setup.yml Normal file
View File

@ -0,0 +1,14 @@
---
- block:
- name: Install package
package:
name: dnsmasq
state: present
- name: Ensure dnsmasq is up and running
service:
name: "{{ dockerengine_package }}"
enabled: True
state: started
become: True
become_user: root