alpine: configure network interfaces
This commit is contained in:
parent
c42f9ae1f9
commit
f1f9d6fa34
3 changed files with 30 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue