initial commit
This commit is contained in:
parent
69d423e1ad
commit
f14f644d7e
14
meta/main.yml
Normal file
14
meta/main.yml
Normal 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
2
tasks/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
- include_tasks: setup.yml
|
14
tasks/setup.yml
Normal file
14
tasks/setup.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user