This document discusses deploying Uyuni, an open source systems management tool, using Ansible. It describes an Ansible role that can configure LVM, filesystems, firewalls, SSL certificates, software channels and more during Uyuni installation. Sample playbooks are provided to install Uyuni or SUSE Manager using this role. Future enhancements mentioned include proxy support, custom SSL certificates and integration with Uyuni Hub. Users are encouraged to try the role and provide feedback.
2. //WHOAMI
> Christian Stankowic
> Senior System Engineer at SVA (german system integrator)
> Linux, Unix, Virtualization, DevOps, Infrastructure as Code
> Spacewalk user since version 2.0
2 | 10
3. //WHY ANSIBLE? SUSE LOVES SALT!
> Yes, you're right and we like Salt, too
> But many $customers love Ansible
3 | 10
4. //WHY ANSIBLE? SUSE LOVES SALT!
> Yes, you're right and we like Salt, too
> But many $customers love Ansible
> Market shares still show a leading position for Ansible*
> Salt is adopting and a strong performer
4 | 10
5. //WHY ANSIBLE? SUSE LOVES SALT!
> Yes, you're right and we like Salt, too
> But many $customers love Ansible
> Market shares still show a leading position for Ansible*
> Salt is adopting and a strong performer
> Uyuni also supports Ansible via Salt using ansiblegate
> Having an automatic deployment would be handy..
* see Forrester reports from 2018 and 2019
5 | 10
6. //PLAYBOOK
The Ansible role stdevel.uyuni is able to:
> con gure LVM, lesystems and mountpoints
> con gure rewall
> de ne SSL certi cate information
> create organization administrator account
> download, install and con gure CEFS* and DEFS
> create and synchronize so ware channels
* Kudos to Steve Meier!
6 | 10
8. //SUSE MANAGER
Deploying SUSE Manager 4.x is also possible:
---
- hosts: mgmt.pinkepank.ltd
remote_user: root
become: true
roles:
- role: stdevel.uyuni
scc_reg_code: DERP1337LULZ
scc_mail: bla@foo.bar
SUSE Customer Center registration code and mail address.
$ ansible-playbook deploy_suma.yml
8 | 10
9. //CONCLUSION
> Planned features:
> Proxy installation
> Custom SSL certi cate support
> Uyuni Hub support (once stable)
> Feel free to use and test the role
> Available on Ansible Galaxy and GitHub
> Feel free to report bugs!
9 | 10