Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imrein/ansible-automation
Role to setup automation tools (jenkins & gitea).
https://github.com/imrein/ansible-automation
ansible ansible-role gitea jenkins role
Last synced: about 1 month ago
JSON representation
Role to setup automation tools (jenkins & gitea).
- Host: GitHub
- URL: https://github.com/imrein/ansible-automation
- Owner: imrein
- License: mit
- Created: 2024-11-19T22:37:50.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-19T23:11:36.000Z (about 1 month ago)
- Last Synced: 2024-11-19T23:30:05.981Z (about 1 month ago)
- Topics: ansible, ansible-role, gitea, jenkins, role
- Language: Jinja
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Automation ansible setup
## Overview
Role to setup an "automation" server. This stack is modular and comes with:
- Jenkins
- Gitea (using MariaDB database)## Requirements
A machine with an SSH connection.
## Role Variables
The variables are defined in `defaults/main.yml`. These should be configured as needed:
| Variable | Default | Info |
| :------- | :------ | :--- |
| `jenkins_install` | `true` | Should Jenkins be installed? |
| `jenkins_user` | `jenkins` | User for Jenkins installation |
| --- | | |
| `gitea_install` | `true` | Should Gitea be installed? |
| `gitea_db_name` | `gitea` | Gitea database name |
| `gitea_db_user` | `git` | Gitea database user |
| `gitea_db_pass` | `git` | Gitea database password |
| `gitea_package_type` | `linux-amd64` | Gitea architecture package type |
| `lfs_jwt_secret` | `xxx` | Gitea lfs_jwt_secret |
| `jwt_secret` | `xyz` | Gitea jwt_secret |
| `internal_token` | `zyx` | Gitea internal token |## Example playbook
```yml
---
- name: test playbook
hosts: generalroles:
- role: ansible-automation
```