configpolicy/roles
Dustin adaf3c6789 roles/gitea: Deploy Gitea server
The *gitea* role installs Gitea using the system package manager and
configures Apache as a reverse proxy for it.

The configuration file requires a number of "secret" values that need to
be unique. These must be specified as Ansible variables:

* `gitea_internal_token`
* `gitea_secret_key`
* `gitea_lfs_jwt_secret`

The `gitea generate` command can be used to create these values.

Normally, Gitea expects to run its own setup tool to generate the
configuration file and create the administrative user. Since the
configuration file is generated from the template instead, no
administrative user is created automatically. Luckily, the `gitea`
command includes a tool to create users, so the administrator can be
created manually, e.g.:

    sudo -u gitea gitea admin create-user -c /etc/gitea/app.ini \
        --admin
        --name giteadmin \
        --password giteadmin \
        --email giteadmin@example.org
2018-06-04 20:03:55 -05:00
..
ansible/tasks roles/ansible: Install python-netaddr 2018-04-08 12:33:54 -05:00
apache roles/apache: Use event MPM by default 2018-05-28 15:24:34 -05:00
base roles/base: Basic config management support 2018-01-29 15:02:10 -06:00
dch-gw dch-gw: Host Pyrocufflink VPN locally 2018-05-20 13:23:20 -05:00
dch-vpn-server roles/dch-vpn-server: Deploy pyrocufflink VPN 2018-05-20 12:58:07 -05:00
dhcpcd dhcpd: Install and configure ISC DHCPD 2018-03-27 20:44:43 -05:00
dhcpd roles/dhcpd: Allow disabling DDNS per-subnet 2018-05-06 13:38:15 -05:00
freeradius roles/freeradius: Optimize defaults cleanup 2018-05-06 18:39:39 -05:00
gitea roles/gitea: Deploy Gitea server 2018-06-04 20:03:55 -05:00
hostname hostname: Also write /etc/hosts 2018-04-08 10:11:43 -05:00
jenkins-slave roles/jenkins-slave: Prepare host for Jenkins 2018-04-08 11:59:18 -05:00
kerberos roles/kerberos: Configure mit-krb5 2018-01-29 15:05:51 -06:00
named roles/named: Support global forwarders 2018-04-06 20:11:08 -05:00
nftables roles/nftables: Basic nftables configuration 2018-03-27 20:44:43 -05:00
nsswitch roles/nsswitch: Configure glibc name service 2018-03-11 18:16:17 -05:00
ntpd ntp: Initial PB and role to set up ntpd 2018-04-22 11:19:22 -05:00
postfix roles/postfix: Deploy Postfix MTA 2018-04-15 11:37:25 -05:00
postgresql-server roles/postgresql-server: Deploy PostgreSQL 2018-04-14 15:23:44 -05:00
radvd roles/radvd: Support multiple prefixes per network 2018-04-06 20:16:02 -05:00
rhel-network roles/rhel-network: Add static route support 2018-03-27 20:44:43 -05:00
samba roles/samba: Remove socket options 2018-05-28 09:51:20 -05:00
samba-dc roles/samba-dc: Support configuring TLS 2018-05-28 15:24:34 -05:00
ssh-hostkeys ssh-hostkeys: Add keys for smtp0.p.b 2018-04-15 11:42:24 -05:00
strongswan roles/strongswan: Base role for strongSwan setup 2018-05-20 12:56:27 -05:00
sudo roles/sudo: Configure sudo and policy 2018-03-11 18:16:17 -05:00
system-auth roles/system-auth: Configure PAM system authentication 2018-03-11 18:16:17 -05:00
winbind roles/winbind: Use ad idmap backend 2018-04-08 14:40:04 -05:00
zabbix-agent roles/zabbix-agent: Use variable for Include 2018-04-14 16:22:48 -05:00
zabbix-server roles/zabbix-server: Deploy Zabbix server, web UI 2018-04-14 15:26:54 -05:00