alpine: configure network interfaces

This commit is contained in:
Timotej Lazar 2024-06-25 00:40:13 +02:00
parent c42f9ae1f9
commit f1f9d6fa34
3 changed files with 30 additions and 0 deletions

View file

@ -1,3 +1,9 @@
- name: Set up network interfaces
template:
dest: /etc/network/interfaces
src: interfaces.j2
notify: restart networking
- name: Set hostname
hostname:
name: '{{ dns_name }}'
@ -20,6 +26,7 @@
- name: Install base packages
package:
name:
- acl
- git
- iproute2
- logrotate