mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
forgejo: Add vars runnerhostvm, valkey templates
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
@@ -36,7 +36,7 @@ spec:
|
||||
devices:
|
||||
autoattachPodInterface: false
|
||||
interfaces:
|
||||
- macAddress: 02:79:58:00:00:01
|
||||
- macAddress: "{{ '02:79:58' | community.general.random_mac }}"
|
||||
masquerade: {}
|
||||
name: default
|
||||
machine:
|
||||
@@ -55,6 +55,6 @@ spec:
|
||||
#cloud-config
|
||||
chpasswd:
|
||||
expire: false
|
||||
password: japx-h11n-xufh
|
||||
user: fedora
|
||||
password: "{{ (env == 'production') | ternary(forgejo_runnerhostvm_password, forgejo_stg_runnerhostvm_password) }}"
|
||||
user: "{{ (env == 'production') | ternary(forgejo_runnerhostvm_user, forgejo_stg_runnerhostvm_user) }}"
|
||||
name: cloudinitdisk
|
||||
|
||||
@@ -9,8 +9,8 @@ data:
|
||||
bind 0.0.0.0
|
||||
port 6379
|
||||
cluster-enabled yes
|
||||
requirepass valkeypassword
|
||||
masterauth valkeypassword
|
||||
requirepass "{{ (env == 'production') | ternary(forgejo_valkey_password, forgejo_stg_valkey_password) }}"
|
||||
masterauth "{{ (env == 'production') | ternary(forgejo_valkey_masterauth, forgejo_stg_valkey_masterauth) }}"
|
||||
protected-mode no
|
||||
dir /data
|
||||
dbfilename dump.rdb
|
||||
|
||||
@@ -40,4 +40,4 @@ spec:
|
||||
storageClassName: ocs-storagecluster-ceph-rbd
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storage: 10Gi
|
||||
|
||||
Reference in New Issue
Block a user