Commit 10be01c7 authored by Pietsch, Martin's avatar Pietsch, Martin

insert missing name tags

parent 400873b5
......@@ -3,7 +3,8 @@
name: system
tasks_from: configure
- set_fact:
- name: collect all DHCP ranges
set_fact:
dhcp_ranges: >-
{% set range = {} -%}
{% if _netclass.value.dhcp is defined -%}
......@@ -26,7 +27,8 @@
loop_control:
loop_var: _netclass
- stat:
- name: get /etc/rc.conf file information before changing
stat:
path: "/etc/rc.conf"
register: bfnetstrc
......@@ -90,10 +92,12 @@
create: yes
when: system_default_gateways.ipv6 is defined
- set_fact:
- name: initialise variable for internal NAT interfaces
set_fact:
natifs: []
- set_fact:
- name: collect all internal NAT interfaces
set_fact:
natifs: "{{ ([_natif.intdevice] + (natifs | default([]))) | unique() }}"
when: _natif.intdevice not in network.devices
loop: "{{ network.nat | default([]) }}"
......@@ -146,7 +150,8 @@
when: (natifs | length()) > 0
- stat:
- name: get /etc/rc.conf file information after changing
stat:
path: "/etc/rc.conf"
register: afnetstrc
......@@ -210,14 +215,15 @@
line: "{{ 'keymap=\"%s\"' | format(keymap) }}"
when: keymap is defined
- name: set locale
- name: set LANG locale for sh
lineinfile:
path: /etc/profile
regexp: "^LANG="
line: "{{ 'LANG=%s; export LANG' | format(locale) }}"
when: locale is defined
- lineinfile:
- name: set LANG locale for csh
lineinfile:
path: /etc/csh.login
regexp: "^setenv LANG "
line: "{{ 'setenv LANG %s' | format(locale) }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment