Skip to content

This Ansible collection provides a set of roles designed for configuring Kubuntu desktop and Ubuntu server environments.

License

Notifications You must be signed in to change notification settings

xebis/ansible-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Collection

This Ansible collection provides a set of roles designed for configuring Kubuntu desktop and Ubuntu server environments.

Features

Roles

Role Description Dependencies
xebis.ansible.apt Deb package updates and upgrades using the apt package manager. Can optionally clean up unused packages and reboot the system if required. xebis.ansible.system
xebis.ansible.openssh_server Installs OpenSSH server installation and provides Restart ssh handler. xebis.ansible.apt
xebis.ansible.system System-related tasks such as reboot handler or reboot when required handler.
xebis.ansible.users Ansible role for managing system users. xebis.ansible.openssh_server

Installation and Configuration

Add to requirements.yaml:

---
collections:
  - name: git+https://github.com/xebis/ansible-collection.git,main

Install dependencies:

ansible-galaxy collection install -r requirements.yaml

Usage

Create an Ansible playbook:

---
- hosts: all
  roles:
    - role: xebis.ansible.apt
      vars:
        autoclean: true
        autoremove: true
        cache_valid_time: 3600
        purge: true
        upgrade: "full"

Refer to the example playbook test.yaml for additional inspiration.

Run the Ansible playbook:

ansible-playbook -i localhost, playbook.yaml

Contributing

Development

GALAXY_BUILD_OUTPUT=$(ansible-galaxy collection build --force)
ansible-galaxy collection install --force "${GALAXY_BUILD_OUTPUT##* }"

ansible-playbook test.yaml -i localhost, -kK

Credits and Acknowledgments

  • Martin Bružina - Author

Copyright and Licensing

  • MIT License
    Copyright © 2025 Martin Bružina

About

This Ansible collection provides a set of roles designed for configuring Kubuntu desktop and Ubuntu server environments.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •