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