buluma.common
Ansible Role Common
This role is designed to set up common configurations on your system.
GitHub | Version | Issues | Pull Requests | Downloads |
---|---|---|---|---|
Example Playbook
The following example comes from molecule/default/converge.yml
and is tested with every update or pull request.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: buluma.common
Before running the role, the machine must be prepared. In CI, this is done with molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
gather_facts: false
become: true
roles:
- role: buluma.bootstrap
For more information on how to use these roles, check out a full explanation and example.
Role Variables
Default variable settings can be found in defaults/main.yml
:
---
# defaults file for common
# The chosen hostname.
common_hostname: "{{ inventory_hostname }}"
# A list of nameservers to set up.
# common_nameservers:
# - 1.1.1.1
# - 1.0.0.1
# Add all hosts in the play to /etc/hosts.
common_hosts: "{{ groups.all }}"
# Should the system reboot if the hostname changes?
common_reboot: true
Requirements
- Python packages noted in requirements.txt.
State of Used Roles
The following roles help prepare a system, but you can also prepare yours differently.
Requirement | GitHub | Version |
---|---|---|
buluma.bootstrap |
Context
This role is part of a collection of related roles. Check out the documentation for these roles for more details.
Below is a summary of related roles:
Compatibility
This role has been tested with the following container images:
container | tags |
---|---|
Alpine | all |
Amazon | all |
Debian | all |
Fedora | all |
opensuse | all |
Ubuntu | all |
You need at least Ansible version 2.12. Tests have been conducted on:
- The previous version.
- The current version.
- The development version.
If you encounter any problems, please log them on GitHub.
Changelog
See the Role History.
License
The license for this project is Apache-2.0.
Author Information
The author is Shadow Walker.
The purpose of this role is to configure common things on your system.
ansible-galaxy install buluma.common