1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_linux.git synced 2024-09-12 00:04:41 +02:00
Find a file
2024-08-29 20:03:16 +02:00
.github Initial commit 2024-04-25 02:00:56 +02:00
meta Prepare v1.1.0 2024-04-27 02:50:28 +02:00
roles Adding desktop packages and version 1.1.3 2024-08-29 20:03:16 +02:00
.ansible-lint Prepare v1.1.0 2024-04-27 02:50:28 +02:00
.gitmodules Create l3d.linux.packages 2024-04-25 02:06:40 +02:00
.yamllint Initial commit 2024-04-25 02:00:56 +02:00
changelog Initial commit 2024-04-25 02:00:56 +02:00
CHANGELOG.md Initial commit 2024-04-25 02:00:56 +02:00
CHANGELOG.rst Initial commit 2024-04-25 02:00:56 +02:00
galaxy.yml Adding desktop packages and version 1.1.3 2024-08-29 20:03:16 +02:00
LICENSE Initial commit 2024-04-25 02:00:56 +02:00
README.md Adding desktop packages and version 1.1.3 2024-08-29 20:03:16 +02:00
requirements.yml Initial commit 2024-04-25 02:00:56 +02:00

collection l3d.linux Maintainance License

Ansible Collection - l3d.linux

This is the Ansible Collection l3d.linux. A collection to to common linux tasks like installing linux packages.

Ansible Roles in l3d.linux

  • l3d.linux.packages - Ansible role to install some base packages on your linux systems

Using this Collection

You can install the collection using ansible-galaxy by running:

ansible-galaxy collection install l3d.linux:1.1.3

Remember you can to Upgrade to the latest version of the l3d.linux collection using the --upgrade parameter:

ansible-galaxy collection install l3d.linux --upgrade

Or you could clone this collection in your local ansible project for example to collections/ansible_collections/l3d.linux/. Make sure you checkout git submodules too. Example:

# Clone git Repo with submodules to specified path
git clone --recursive https://github.com/roles-ansible/ansible_collection_linux.git collections/ansible_collections/l3d/linux/

# change directory
cd collections/ansible_collections/l3d.linux/

# optionally init git submodules
git submodule update --init --recursive

# optionally install all requirements
ansible-galaxy collection install -r requirements.yml --upgrade

You can also list a collection in requirements.yml:

---
collections:
  - name: l3d.linux
    version: ">=1.1.3"

Include roles in your playbook

Example Playbook using the l3d.linux.packages role:

---
- name: "Install NTP Server from collection l3d.linux"
  hosts: ntp.example.com
  roles:
    - {role: l3d.linux.packages, tags: ntp}
  vars:

Requirements

The roles in this collection using the community.general ansible Collections.

Example Requirements Installation:

# galaxy requirements
ansible-galaxy install -r requirements.yml --upgrade