semuadmin.webmin
Role Name
THIS REPO IS NO LONGER BEING ACTIVELY MAINTAINED OR SUPPORTED.
IF YOU WANT TO MAINTAIN AND SUPPORT IT, FEEL FREE TO FORK IT.
This is an Ansible role for installing Webmin, a web-based tool for managing Linux systems, which will run as a systemd service.
You can access the Webmin service at https://hostip:10000.
The default login uses the username and password of the user who installed it.
You might see a warning in your browser because Webmin uses a self-signed SSL certificate by default.
The system will reboot after the installation.
Requirements
- You need sudo privileges to install.
- Systemd must be available to manage services.
- Firewalld is needed for firewall control (if needed).
- Python is required for Ansible to work (note that some basic Linux distributions do not come with Python installed).
Role Variables
install_utilities
: false. Set this to True to install extra utility packages used by Webmin (like wget, git, ntpdate, sntp, smartmontools). Some basic distributions may not include all these tools by default and may need to be installed manually.enable_firewalld
: false. Set this to True to open port 10000 on the firewall (you must have firewalld installed and running for this to work).uninstall_webmin
: false. Set to true if you want to uninstall Webmin.
Dependencies
None.
Example Playbook
Here’s how to use this role with some variables defined:
- name: Install webmin role
hosts: all
become: true
become_user: root
vars:
enable_firewalld: true
install_utilities: true
roles:
- semuadmin.webmin
License
BSD 3-Clause
ansible-galaxy install semuadmin.webmin