should be possible to use httpd module for certs
This commit is contained in:
parent
baa0024b41
commit
775c389c45
@ -1,6 +1,6 @@
|
||||
---
|
||||
# This playbook is meant to be used with callable variables, like adhoc or AWX.
|
||||
# What: Creates an organization/group in Gitea
|
||||
# What: Creates an organization/group in Gitea, relying on the gitea collection
|
||||
# What is expected:
|
||||
- name: Create Gitea Organization or Group
|
||||
hosts: all
|
||||
@ -8,5 +8,8 @@
|
||||
vars_files:
|
||||
- "vars/common.yml"
|
||||
|
||||
# Create org
|
||||
# Optionally assign user as part of owner team
|
||||
# Remove automated account
|
||||
tasks:
|
||||
...
|
||||
|
@ -1,4 +1,6 @@
|
||||
---
|
||||
# This does not use the gitea collection to install. Instead, we are installing
|
||||
# from our own packages built for EL/Fedora in Copr.
|
||||
- name: Setup Gitea
|
||||
hosts: all
|
||||
become: true
|
||||
@ -27,7 +29,7 @@
|
||||
roles:
|
||||
- role: rockylinux.ipagetcert
|
||||
state: present
|
||||
when: gitea_web_config_certs|bool
|
||||
when: gitea_web_config_certs_internal|bool
|
||||
|
||||
tasks:
|
||||
- name: Install and Configure Gitea
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
become: true
|
||||
tasks:
|
||||
- import_tasks: example.yml
|
||||
- import_tasks: gitea.yml
|
||||
...
|
||||
|
@ -2,7 +2,8 @@
|
||||
gitea_web_install: "httpd"
|
||||
gitea_web_username: "{% if gitea_web_install == 'httpd' %}apache{% else %}{{ gitea_web_install }}{% endif %}"
|
||||
gitea_web_config: "true"
|
||||
gitea_web_config_certs: "false"
|
||||
gitea_web_config_certs_internal: "false"
|
||||
gitea_web_config_certs_external: "false"
|
||||
gitea_themes: "auto,gitea,arc-green,gitea-blue,gitea-modern,carbonred,darkred,pitchblack"
|
||||
gitea_basename: "git.resf.org"
|
||||
gitea_automation_user: "rockyautomation"
|
||||
|
Loading…
Reference in New Issue
Block a user