Aaron Guise e5e3f88413
All checks were successful
CI / lint (push) Successful in 52s
CI / Molecule Test (almalinux8) (push) Successful in 1m15s
CI / Molecule Test (almalinux9) (push) Successful in 1m54s
CI / release (push) Successful in 23s
CI / notify (push) Successful in 24s
Regular test / Molecule Test (almalinux8) (push) Successful in 1m19s
Regular test / Molecule Test (almalinux9) (push) Successful in 5m51s
Regular test / notify (push) Successful in 7s
fix(ci): Let go-semantic-release get latest drivers from web 🐛 💚
2025-04-14 11:26:55 +12:00
2023-10-08 22:34:46 +13:00
2022-04-03 13:20:47 +12:00
2025-04-11 22:12:09 +12:00
2023-10-08 22:44:24 +13:00
2023-10-08 22:03:52 +13:00
2024-04-26 11:40:40 +12:00
2024-04-26 11:37:08 +12:00
2025-04-11 22:49:23 +12:00
2024-01-04 10:38:20 +13:00

Common status-badge

=========

This role is a collection of functionality to ease common setup of Linux based VM's. Some functionality for windows servers is available.

Features:

  • Dynamic motd - This displays information to administrators at login.
  • Helper commands - These are commands to help with online resizing of Linux Partitions/Drives when running on VMWare.
  • Set DNS resolvers for use on the host.
  • Install common packages for the host (Win/Linux)

Requirements

Nil

Role Variables

Role variables can be found in defaults/main.yml

domain: exampledomain.com
ad_domain_joined: no
win_timezone: New Zealand Standard Time
vendors_hosts: []

dns_servers:
  - 1.0.0.1
  - 1.1.1.1

admin_group: admins


common_grub_timeout: 5
postfix_configure: false

common_packages: # Packages we will/would like to install
  - nano
  - git
  - htop
  - atop
  - wget
  - bind-utils
  - yum-utils
  - unzip

win_packages:
  - notepadplusplus.install
  - firefoxesr
  - baretail
  - 7zip.install

apply_win_updates: false

common_show_ipv6: false|bool
common_root_pwd: $y0urp@$$ ## You should always use a vault encrypted string here.
common_root_email: admin@somplace.co.nz # Configures forwarding address for root.

Dependencies

Nil external dependencies. Requires only builtin functions

Example Playbook

This is an example playbook. Executes the role overriding two variables.

You could alternately set these in host_vars or group_vars:

    - hosts: server
      roles:
         - { role: cybercinch.common, 
             common_show_ipv6: true,
             common_root_email: iamroot@example.com }

License

MIT

Author Information

This role was created in 2017 by Aaron Guise

Description
No description provided
Readme 626 KiB
v1.1.7 Latest
2025-04-14 11:56:26 +12:00
Languages
Shell 73.3%
Jinja 17.3%
Makefile 9.4%