Files
ansible/roles/common
2025-09-15 23:29:03 +02:00
..
2025-07-27 22:46:23 +02:00
2025-07-27 22:46:23 +02:00
2025-07-27 16:40:46 +02:00

Ansible Role: common

This role configures a baseline set of common configurations for Debian-based systems.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see vars/main.yml):

# The hostname to configure.
hostname: "new-host"

# A list of extra packages to install.
extra_packages:
  - "htop"
  - "ncdu"
  - "stow"
  - "unzip"

Dependencies

None.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
    - role: common
      hostname: "my-new-host"
      extra_packages:
        - "vim"
        - "curl"

License

MIT

Author Information

This role was created in 2025 by TuDatTr.