Skip to content
Alexander Bazhenov edited this page Nov 25, 2022 · 13 revisions

An ansible collection with linux-related roles to perform various setups.

Project content

bareos

Installs and configures Bareos and third-party components, adds Bareos file daemons to Bareos server, create user profiles and uploads configs to Bareos host:

  • Typical installation of all Bareos components on the single host with PostgreSQL installation or already preinstalled;
  • Typical installation of Bareos file daemon and add them to Bareos server;
  • Typical installation of Web UI with Apache2 web server and (optionally) create user pofile to access;
  • Uninstall Bareos components;
  • Copy already predefined configs to /etc/bareos directory.

Find more at wiki page.

lxcfs

Installs lxc or lxcfs on linux system. More info at wiki page.

zabbix agent

Installs zabbix agent and configures them for services, apps and platform autodiscovery on Zabbix Server side.

Configure tags for discovery of: mysql, postgresql, bareos, nginx, apache, isc-dhcp-server, memcached, virtualization, containerization, baremetal platforms vendors and many more.

More info at wiki page.

Installation

Install from ansible galaxy

Set-up collection from ansible galaxy: ansible-galaxy collection install alexanderbazhenoff.linux. If you need to use custom installation path, e.g. ansible-galaxy collection install alexanderbazhenoff.linux -p /your/path then edit ansible.cfg. Use ansible --version command to find the path of config file. Check docs.ansible.com for more info.

Install from sources

  1. Clone via ssh: git clone git@github.com:alexanderbazhenoff/ansible-collection-linux.git or https: git clone https://github.com/alexanderbazhenoff/ansible-collection-linux.git.
  2. Enter project directory cd ansible-collection-linux and build tar.gz archive of collection: ansible-galaxy collection build.
  3. Install collection from created tar.gz archive: ansible-galaxy collection install $(ls -1 | grep ".tar.gz").

Usage

  1. Create inventory and create playbook files. Include these roles into your playbook. These roles include example playbooks and inventory files already. You can also find usage examples in readme files.
  2. If you like it please vote on ansible galaxy page.

License

This Source Code Form is subject to the terms of the MIT-0 license.

Clone this wiki locally