Remove network tasks from common role

This commit is contained in:
Ryan Cavicchioni 2019-03-27 07:09:45 +00:00
parent 1fa09665ff
commit 278503d2d3
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
5 changed files with 0 additions and 25 deletions

View File

@ -1,10 +1,6 @@
---
cron_service_name: cron
resolv_nameserver: []
resolv_options:
- edns0
timezone: UTC
# vim:ft=yaml.ansible:

View File

@ -1,10 +1,4 @@
---
- name: "restart resolv"
service:
name: "{{ resolv_service_name }}"
state: restarted
when: resolv_service_name is defined
- name: restart cron
service:
name: "{{ cron_service_name }}"

View File

@ -12,12 +12,6 @@
state: present
with_items: "{{ sys_utils }}"
- name: configure resolv.conf
template:
src: resolv.conf.j2
dest: /etc/resolv.conf
notify: "restart resolv"
- name: configure system timezone
timezone:
name: "{{ timezone }}"

View File

@ -1,8 +0,0 @@
# {{ ansible_managed }}
{% for ns in resolv_nameserver %}
nameserver {{ ns }}
{% endfor %}
{% if resolv_options is defined %}
options {{ resolv_options | join(' ') }}
{% endif %}

View File

@ -1,4 +1,3 @@
---
resolv_service_name: systemd-resolved.service
# vim:ft=yaml.ansible: