An ansible collection with linux-related roles to perform various setups.
-
bareos - Installs and configures Bareos and third-party components, adds Bareos file daemons to Bareos server, create or revoke user profiles and uploads Bareos configs to the host (e.g. if you have already installed Bareos server, storage daemon(s) etc).
-
postgresql: Installs and configures specified version(s) of PostgreSQL database instance(s), manage users, databases, schemas, privileges and replication slots.
-
zabbix_agent - Installs zabbix agent and configures them for services, apps and platform autodiscovery on Zabbix Server side.
- Set-up collection from ansible galaxy:
ansible-galaxy collection install alexanderbazhenoff.linux
If you need to use a 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.
- Clone via ssh:
git clone git@github.com:alexanderbazhenoff/ansible-collection-linux.git
or clone via https:
git clone https://github.com/alexanderbazhenoff/ansible-collection-linux.git
- Enter the project directory:
cd ansible-collection-linux
and build tar.gz archive of a collection:
ansible-galaxy collection build
- Install a collection from created tar.gz archive:
ansible-galaxy collection install $(ls -1 | grep ".tar.gz")
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 or /example
sub-folders.
If you like it, please vote on ansible galaxy page.