mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-26 06:29:58 +07:00
Revert "Always wipe disk and filesystems"
This reverts commit 0091ab9f6f
.
This commit is contained in:
parent
73deb46aa6
commit
84213c2a09
@ -8,17 +8,12 @@ passwd:
|
|||||||
- {{ ssh_public_key }}
|
- {{ ssh_public_key }}
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
disks:
|
# Set hostname
|
||||||
wipeTable: true
|
|
||||||
filesystems:
|
|
||||||
wipeFilesystem: true
|
|
||||||
files:
|
files:
|
||||||
# Set hostname
|
|
||||||
- path: /etc/hostname
|
- path: /etc/hostname
|
||||||
mode: 0644
|
mode: 0644
|
||||||
contents:
|
contents:
|
||||||
inline: {{ hostvars[item]['inventory_hostname'] }}
|
inline: {{ hostvars[item]['inventory_hostname'] }}
|
||||||
# Set static IP
|
|
||||||
- path: /etc/NetworkManager/system-connections/{{ network_interface }}.nmconnection
|
- path: /etc/NetworkManager/system-connections/{{ network_interface }}.nmconnection
|
||||||
mode: 0600
|
mode: 0600
|
||||||
contents:
|
contents:
|
||||||
@ -34,8 +29,8 @@ storage:
|
|||||||
dns={{ dns_server }};
|
dns={{ dns_server }};
|
||||||
dns-search=
|
dns-search=
|
||||||
method=manual
|
method=manual
|
||||||
|
# Set timezone
|
||||||
links:
|
links:
|
||||||
# Set timezone
|
|
||||||
- path: /etc/localtime
|
- path: /etc/localtime
|
||||||
target: /usr/share/zoneinfo/{{ timezone }}
|
target: /usr/share/zoneinfo/{{ timezone }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user