Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

---
- name: test playbook
  hosts: general

  roles:
  - role: ansible-automation

About

Role to setup automation tools (jenkins & gitea).

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Contributors

Languages