fix: templates: load user credentials and pass dynamic configuration.

Also escape curly braces
pull/1/head
Aravinth Manivannan 2022-06-25 18:00:13 +05:30
parent 80d6664f0d
commit 94aad8e6ea
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
4 changed files with 13 additions and 13 deletions

View File

@ -1,2 +1,2 @@
enough --domain d.hostea.org host create {{subdomain}}-host enough --domain d.{{ hostea_domain }} host create {{subdomain}}-host
enough --domain d.hostea.org service create --host {{subdomain}}-host gitea enough --domain d.{{ hostea_domain }} service create --host {{subdomain}}-host gitea

View File

@ -1 +1 @@
enough --domain d.hostea.org host delete hostea001-host enough --domain d.{{ hostea_domain }} host delete hostea001-host

View File

@ -5,14 +5,14 @@
# Public hostname of the Gitea instance # Public hostname of the Gitea instance
# #
# #
gitea_host: "gitea.{{ domain }}" gitea_host: "{{ subdomain }}.{{ '{' }}{{ '{' }} domain {{ '}' }}{{ '}' }}"
# #
####################################### #######################################
# #
# Mailer from # Mailer from
# #
# #
gitea_mailer_from: "noreply@enough.community" gitea_mailer_from: "noreply@{{ '{' }}{{ '{' }} domain {{ '}' }}{{ '}' }}"
# #
####################################### #######################################
# #
@ -38,37 +38,37 @@ gitea_user: root
# #
# Admin user password # Admin user password
# #
#gitea_password: etquofEtseudett gitea_password: "{{ gitea_password }}"
# #
####################################### #######################################
# #
# Admin user email # Admin user email
# #
gitea_email: contact@enough.community gitea_email: "{{ gitea_email }}"
# #
####################################### #######################################
# #
# Unique hostname of the woodpecker server relative to {{ domain }} # Unique hostname of the woodpecker server relative to {{ '{' }}{{ '{' }} domain {{ '}' }}{{ '}' }}
# #
woodpecker_hostname: "woodpecker" woodpecker_hostname: "{{ woodpecker_hostname }}"
# #
####################################### #######################################
# #
# Public hostname of the Woodpecker instance # Public hostname of the Woodpecker instance
# #
woodpecker_host: "{{ woodpecker_hostname }}.{{ domain }}" woodpecker_host: "{{ '{' }}{{ '{' }} woodpecker_hostname {{ '}' }}{{ '}' }}.{{ '{' }}{{ '{' }} domain {{ '}' }}{{ '}' }}"
# #
####################################### #######################################
# #
# Gitea users with admin rights on woodpecker # Gitea users with admin rights on woodpecker
# #
woodpecker_admins: "{{ gitea_user }}" woodpecker_admins: "{{ '{' }}{{ '{' }} gitea_user {{ '}' }}{{ '}' }}"
# #
####################################### #######################################
# #
# Woodpecker shared agent secret `openssl rand -hex 32` # Woodpecker shared agent secret `openssl rand -hex 32`
# #
#woodpecker_agent_secret: c2cd326f7104c2ca93e6d22da0b28d1e33b4aeaa071c08945e0ade576b3192ce woodpecker_agent_secret: {{ woodpecker_agent_secret }}
# #
####################################### #######################################
# #

View File

@ -1 +1 @@
openstack_flavor: "\{\{ {{ vm_size }} \}\}" openstack_flavor: {{ vm_size }}