Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexanderbazhenoff/ansible-collection-linux
Ansible roles for Linux.
https://github.com/alexanderbazhenoff/ansible-collection-linux
anisble automation linux
Last synced: about 1 month ago
JSON representation
Ansible roles for Linux.
- Host: GitHub
- URL: https://github.com/alexanderbazhenoff/ansible-collection-linux
- Owner: alexanderbazhenoff
- License: other
- Created: 2022-11-25T19:52:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-07T23:52:23.000Z (9 months ago)
- Last Synced: 2024-04-08T22:46:33.565Z (9 months ago)
- Topics: anisble, automation, linux
- Language: Jinja
- Homepage: https://galaxy.ansible.com/ui/repo/published/alexanderbazhenoff/linux/
- Size: 365 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
An ansible collection with linux-related roles to perform various setups.
## Project content.
#### Roles:
- [**bareos**](roles/bareos/README.md) - Installs and configures [Bareos](https://www.bareos.com/) 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).- [**lxcfs**](roles/lxcfs/README.md): Installs [lxc](https://linuxcontainers.org/lxc/introduction/) or
[**lxcfs**](https://linuxcontainers.org/lxcfs/introduction/) on linux system.- [**postgresql**](roles/postgresql/README.md): Installs and configures specified version(s) of PostgreSQL database
instance(s), manage users, databases, schemas, privileges and replication slots.- [**zabbix_agent**](roles/zabbix_agent/README.md) - Installs zabbix agent and configures them for services,
apps and platform autodiscovery on
[Zabbix Server side](https://github.com/alexanderbazhenoff/ansible-collection-linux/tree/main/roles/zabbix_agent#setup-on-zabbix-server-side).## Installation.
#### Install from ansible galaxy:
1. Set-up collection from ansible galaxy:
```bash
ansible-galaxy collection install alexanderbazhenoff.linux
```
If you need to use a custom installation path, e.g.
```bash
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](https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#installing-collections-with-ansible-galaxy)
for more info.#### Install from sources:
1. Clone via ssh:
```bash
git clone [email protected]:alexanderbazhenoff/ansible-collection-linux.git
```
or clone via https:
```bash
git clone https://github.com/alexanderbazhenoff/ansible-collection-linux.git
```
2. Enter the project directory:
```bash
cd ansible-collection-linux
```
and build tar.gz archive of a collection:
```bash
ansible-galaxy collection build
```
3. Install a collection from created tar.gz archive:
```bash
ansible-galaxy collection install $(ls -1 | grep ".tar.gz")
```## Usage.
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](https://galaxy.ansible.com/ui/repo/published/alexanderbazhenoff/linux/).