role_dnsmasq/tasks/installation.yml

17 lines
306 B
YAML
Raw Permalink Normal View History

2022-10-03 15:20:34 +00:00
---
# tasks file for dnsmasq
- name: Installer dnsmasq
become: true
ansible.builtin.package:
name: dnsmasq
- name: Créer le dossier dédié à dnsmasq
ansible.builtin.file:
path: /srv/dnsmasq
state: directory
owner: dnsmasq
group: root
mode: u=rwX,g=rX,o=rX
become: true