Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lfkdev/ansible-link-role
Ansible role for ansible-link
https://github.com/lfkdev/ansible-link-role
Last synced: about 1 month ago
JSON representation
Ansible role for ansible-link
- Host: GitHub
- URL: https://github.com/lfkdev/ansible-link-role
- Owner: lfkdev
- License: mit
- Created: 2024-06-25T18:05:19.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-28T13:13:39.000Z (6 months ago)
- Last Synced: 2024-06-28T19:05:36.033Z (6 months ago)
- Language: Jinja
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible-Link Role
Role to install and configure [Ansible-Link](https://github.com/lfkdev/ansible-link). For now only the debian family is supported.
## Requirements
None, simply add the role to your ansible-node playbook
```yaml
- hosts: my-ansible-node
roles:
- role: lfkdev.ansible_link
```
Ansible-Link needs access to your playbooks (e.g. `/etc/ansible`).## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
---
```yaml
ansible_link_version: "1.2.5"
```
The version of Ansible Link to install. This should match a release version from the Ansible Link GitHub releases.```yaml
ansible_link_dir: "/srv/ansible-link"
```The directory where Ansible Link will be installed.
```yaml
ansible_link_venv: "{{ ansible_link_dir }}/.venv"
```
The path to the Python virtual environment for Ansible Link.```yaml
ansible_link_user: root
ansible_link_group: root
```
The user and group under which Ansible Link will run. (make sure this user can run your ansible-playbooks)```yaml
ansible_link_webhook_url: ""
ansible_link_webhook_type: "slack"
ansible_link_webhook_timeout: "5"
```
Configuration for webhook notifications. Set ansible_link_webhook_url to enable notifications.```yaml
ansible_link_host: "127.0.0.1"
ansible_link_port: "5001"
```
The host and port on which Ansible Link will listen.```yaml
ansible_link_ansible_output: false
ansible_link_omit_event_data: false
ansible_link_only_failed_event_data: false
```
Configure Ansible output and event data handling.```yaml
ansible_link_playbook_dir: "/etc/ansible/"
ansible_link_inventory_file: "/etc/ansible/environments/hosts"
```
The directory containing Ansible playbooks and the inventory file path.```yaml
ansible_link_job_storage_dir: "/var/lib/ansible-link/job-storage"
```
The directory where Ansible Link will store job data.```yaml
ansible_link_log_level: "INFO"
```
Set the log level for Ansible Link.```yaml
ansible_link_playbook_whitelist: []
```
A list of playbooks that are allowed to be executed. An empty list allows all playbooks.