add VM add_vm
This commit is contained in:
parent
672d578817
commit
6d492b126f
4 changed files with 90 additions and 0 deletions
3
inventory/add_vm-backup.yml
Normal file
3
inventory/add_vm-backup.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
pets:
|
||||
hosts:
|
||||
add_vm-host:
|
83
inventory/host_vars/add_vm-host/gitea.yml
Normal file
83
inventory/host_vars/add_vm-host/gitea.yml
Normal file
|
@ -0,0 +1,83 @@
|
|||
---
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Public hostname of the Gitea instance
|
||||
#
|
||||
#
|
||||
gitea_host: "add_vm.{{ domain }}"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Mailer from
|
||||
#
|
||||
#
|
||||
gitea_mailer_from: "noreply@{{ domain }}"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# SSH port of the Gitea instance
|
||||
#
|
||||
#
|
||||
gitea_ssh_port: "22"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Gitea version
|
||||
#
|
||||
#
|
||||
gitea_version: "1.16.8"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Admin user name
|
||||
#
|
||||
gitea_user: root
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Admin user password
|
||||
#
|
||||
gitea_password: "fqX7RqRNi6kd0To8HJuA"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Admin user email
|
||||
#
|
||||
gitea_email: "infrautil_user@example.org"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Unique hostname of the woodpecker server relative to {{ domain }}
|
||||
#
|
||||
woodpecker_hostname: "add_vm-ci"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Public hostname of the Woodpecker instance
|
||||
#
|
||||
woodpecker_host: "{{ woodpecker_hostname }}.{{ domain }}"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Gitea users with admin rights on woodpecker
|
||||
#
|
||||
woodpecker_admins: "{{ gitea_user }}"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Woodpecker shared agent secret `openssl rand -hex 32`
|
||||
#
|
||||
woodpecker_agent_secret: fQedr6QQ0WUvm0JADkzd512pHDPM1H5wTyC73WKHSiEqZpSrGEmAnPhSqtYSiokl
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Woodpecker version
|
||||
#
|
||||
woodpecker_version: "v0.15.2"
|
||||
#
|
||||
#######################################
|
||||
#
|
||||
# Woodpecker max procs
|
||||
#
|
||||
woodpecker_max_procs: 1
|
1
inventory/host_vars/add_vm-host/provision.yml
Normal file
1
inventory/host_vars/add_vm-host/provision.yml
Normal file
|
@ -0,0 +1 @@
|
|||
openstack_flavor: openstack_flavor_small
|
3
inventory/hosts-scripts/add_vm-host.sh
Normal file
3
inventory/hosts-scripts/add_vm-host.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
enough --domain $domain host create add_vm-host
|
||||
enough --domain $domain service create --host add_vm-host gitea
|
||||
|
Loading…
Reference in a new issue