Compare commits
No commits in common. "2b4a196e4d6b22a8fa421320b087b94dcc23b1f7" and "d5db7529dda677f36d7954ebda1718a0ea7f3516" have entirely different histories.
2b4a196e4d
...
d5db7529dd
|
@ -1,19 +1,3 @@
|
|||
- name: Tell ifupdown to rename network interfaces
|
||||
copy:
|
||||
dest: /etc/network/if-pre-up.d/nameif
|
||||
content: |
|
||||
#!/bin/sh
|
||||
nameif -s
|
||||
mode: 0755
|
||||
notify: restart networking
|
||||
|
||||
- name: Configure interface names
|
||||
template:
|
||||
dest: /etc/mactab
|
||||
src: mactab.j2
|
||||
mode: 0644
|
||||
notify: restart networking
|
||||
|
||||
- name: Set up network interfaces
|
||||
template:
|
||||
dest: /etc/network/interfaces
|
||||
|
@ -104,8 +88,3 @@
|
|||
dest: /etc/logrotate.d/unattended-upgrade
|
||||
src: unattended-upgrade.logrotate
|
||||
mode: 0644
|
||||
|
||||
- name: Configure MOTD
|
||||
template:
|
||||
dest: /etc/motd
|
||||
src: motd.j2
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{% for iface in interfaces | selectattr('mac_address') %}
|
||||
{{ iface.name }} {{ iface.mac_address | lower }}
|
||||
{% endfor %}
|
|
@ -1,5 +0,0 @@
|
|||
Welcome to {{ inventory_hostname }}.
|
||||
|
||||
Trespassers will be shot.
|
||||
|
||||
Survivors will be shot again.
|
Loading…
Reference in a new issue