Ansible collection that holds roles, that can be used to configure common system services.
Install it with the Ansible Galaxy CLI:
ansible-galaxy collection install vladgh.system --upgradeYou can also include it in a requirements.yml file and install it via ansible-galaxy collection install -r requirements.yml, using the format:
---
collections:
- name: vladgh.systemUsing the GitHub repository and branch
collections:
- name: https://github.com/vladgh/ansible-collection-vladgh-system
version: main
type: gitInstall the requirements for playbooks
ansible-galaxy install --verbose --force --role-file ~/.ansible/collections/ansible_collections/vladgh/system/requirements.yml---
- name: Common
hosts: all
become: true
tasks:
- name: Include common role
ansible.builtin.include_role:
name: vladgh.system.commonBefore using the playbooks, install the required external roles and collections (modify to your own collections installation path)
ansible-galaxy install --verbose --force --role-file ~/.ansible/collections/ansible_collections/vladgh/system/collection-requirements.yml`Import playbooks
---
- import_playbook: vladgh.system.ansibleSee Ansible using collections in a playbook for more details.
This repository keeps a change log using GitHub's releases functionality.
Releases are based on Semantic Versioning, and use the format
of MAJOR.MINOR.PATCH. The version will be incremented
based on the following:
MAJOR: Incompatible or major changesMINOR: Backwards-compatible new features and enhancementsPATCH: Backwards-compatible bugfixes and package updates
Contributions are always welcome! Please read the contribution guidelines and the code of conduct.
Licensed under the Apache License, Version 2.0. See LICENSE file.