2025-03-09 20:09:55 +01:00
|
|
|
---
|
|
|
|
title: "Prepare OpenSuse 15.6 for Ansible"
|
|
|
|
visible: true
|
|
|
|
---
|
|
|
|
|
|
|
|
[toc]
|
|
|
|
|
2025-03-09 20:12:10 +01:00
|
|
|
Steps for preparing an OpenSUSE 15.6 VM created from the official cloud images for Ansible management.
|
2025-03-09 20:09:55 +01:00
|
|
|
|
2025-03-09 20:11:22 +01:00
|
|
|
## VM Preparation
|
|
|
|
|
|
|
|
### DNS Config
|
2025-03-09 20:09:55 +01:00
|
|
|
|
2025-03-09 20:12:10 +01:00
|
|
|
Use `yast` or edit `/etc/sysconfig/network/config` to set the DNS-server
|
|
|
|
|
|
|
|
> [OpenSUSE Documentation](https://en.opensuse.org/SDB:Configure_DNS)
|
2025-03-09 20:09:55 +01:00
|
|
|
|
2025-03-09 20:11:22 +01:00
|
|
|
### Python
|
2025-03-09 20:09:55 +01:00
|
|
|
|
|
|
|
A new Python version is required, install `python312` using `zypper`
|
2025-03-09 20:11:22 +01:00
|
|
|
|
2025-03-09 20:31:47 +01:00
|
|
|
### Guest Tools
|
|
|
|
|
|
|
|
Mount the guest-tools ISO
|
|
|
|
Run the install script with `./install.sh -m sles -d 15`
|
|
|
|
|
2025-03-09 20:11:22 +01:00
|
|
|
## Generic Ansible preparation
|
|
|
|
|
|
|
|
1. Generate a Yggdrasil private key
|
|
|
|
2. Create VM in Netbox
|