update roles for ansible 6.0.0

This commit is contained in:
ace 2022-07-12 16:48:14 +03:00
parent 9d5478635b
commit e27478be4f
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0
34 changed files with 120 additions and 38 deletions

View File

@ -22,7 +22,7 @@
adguard_combined_values: "{{ adguard_default_values | combine(adguard_values, recursive=true) }}" adguard_combined_values: "{{ adguard_default_values | combine(adguard_values, recursive=true) }}"
- name: Deploy Adguard Home - name: Deploy Adguard Home
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ adguard_namespace | default(namespace) }}" release_namespace: "{{ adguard_namespace | default(namespace) }}"
release_name: "{{ adguard_name | default('adguard') }}" release_name: "{{ adguard_name | default('adguard') }}"

View File

@ -8,7 +8,7 @@
bitwarden_combined_values: "{{ bitwarden_default_values | combine(bitwarden_values, recursive=true) }}" bitwarden_combined_values: "{{ bitwarden_default_values | combine(bitwarden_values, recursive=true) }}"
- name: Deploy Bitwarden - name: Deploy Bitwarden
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ bitwarden_namespace | default(namespace) }}" release_namespace: "{{ bitwarden_namespace | default(namespace) }}"
release_name: "{{ bitwarden_name | default('bitwarden') }}" release_name: "{{ bitwarden_name | default('bitwarden') }}"

View File

@ -2,7 +2,7 @@
cert_manager_combined_values: "{{ cert_manager_default_values | combine(cert_manager_values, recursive=true) }}" cert_manager_combined_values: "{{ cert_manager_default_values | combine(cert_manager_values, recursive=true) }}"
- name: Deploy Cert-manager {{ cert_manager_version }} - name: Deploy Cert-manager {{ cert_manager_version }}
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ cert_manager_namespace | default('cert-manager') }}" release_namespace: "{{ cert_manager_namespace | default('cert-manager') }}"
release_name: "{{ cert_manager_name | default('cert-manager') }}" release_name: "{{ cert_manager_name | default('cert-manager') }}"

View File

@ -2,7 +2,7 @@
chartmuseum_combined_values: "{{ chartmuseum_default_values | combine(chartmuseum_values, recursive=true) }}" chartmuseum_combined_values: "{{ chartmuseum_default_values | combine(chartmuseum_values, recursive=true) }}"
- name: Deploy ChartMuseum - name: Deploy ChartMuseum
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ chartmuseum_namespace | default(namespace) }}" release_namespace: "{{ chartmuseum_namespace | default(namespace) }}"
release_name: "{{ chartmuseum_name | default('chartmuseum') }}" release_name: "{{ chartmuseum_name | default('chartmuseum') }}"

View File

@ -2,7 +2,7 @@
dovecot_combined_values: "{{ dovecot_default_values | combine(dovecot_values, recursive=true) }}" dovecot_combined_values: "{{ dovecot_default_values | combine(dovecot_values, recursive=true) }}"
- name: Deploy Dovecot - name: Deploy Dovecot
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ dovecot_namespace | default(mail_namespace) | default(namespace) }}" release_namespace: "{{ dovecot_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ dovecot_name | default('dovecot') }}" release_name: "{{ dovecot_name | default('dovecot') }}"

View File

@ -11,7 +11,7 @@
drone_runner_kube_combined_values: "{{ drone_runner_kube_default_values | combine(drone_runner_kube_values, recursive=true) }}" drone_runner_kube_combined_values: "{{ drone_runner_kube_default_values | combine(drone_runner_kube_values, recursive=true) }}"
- name: Deploy Drone Server - name: Deploy Drone Server
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ drone_namespace | default(namespace) }}" release_namespace: "{{ drone_namespace | default(namespace) }}"
release_name: "{{ drone_name | default('drone') }}" release_name: "{{ drone_name | default('drone') }}"
@ -21,7 +21,7 @@
wait: true wait: true
- name: Deploy Drone Runner Kube - name: Deploy Drone Runner Kube
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ drone_runner_kube_namespace | default(namespace) }}" release_namespace: "{{ drone_runner_kube_namespace | default(namespace) }}"
release_name: "{{ drone_runner_kube_name | default('drone-runner-kube') }}" release_name: "{{ drone_runner_kube_name | default('drone-runner-kube') }}"

View File

@ -2,7 +2,7 @@
external_dns_combined_values: "{{ external_dns_default_values | combine(external_dns_values, recursive=true) }}" external_dns_combined_values: "{{ external_dns_default_values | combine(external_dns_values, recursive=true) }}"
- name: Deploy external DNS - name: Deploy external DNS
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ external_dns_namespace | default(dns_namespace) | default(namespace) }}" release_namespace: "{{ external_dns_namespace | default(dns_namespace) | default(namespace) }}"
release_name: "{{ external_dns_name | default(namespace + '-external-dns') }}" release_name: "{{ external_dns_name | default(namespace + '-external-dns') }}"

View File

@ -2,7 +2,7 @@
external_ingress_nginx_combined_values: "{{ external_ingress_nginx_default_values | combine(external_ingress_nginx_values, recursive=true) }}" external_ingress_nginx_combined_values: "{{ external_ingress_nginx_default_values | combine(external_ingress_nginx_values, recursive=true) }}"
- name: Deploy external Nginx Ingress - name: Deploy external Nginx Ingress
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ external_ingress_nginx_namespace | default(ingress_namespace) | default(namespace) }}" release_namespace: "{{ external_ingress_nginx_namespace | default(ingress_namespace) | default(namespace) }}"
release_name: "{{ external_ingress_nginx_name | default(namespace + '-external-ingress-nginx') }}" release_name: "{{ external_ingress_nginx_name | default(namespace + '-external-ingress-nginx') }}"

View File

@ -22,7 +22,7 @@
when: gitea_publish_web when: gitea_publish_web
- name: Deploy Nginx Ingress for Gitea - name: Deploy Nginx Ingress for Gitea
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ gitea_ingress_nginx_namespace | default(namespace) }}" release_namespace: "{{ gitea_ingress_nginx_namespace | default(namespace) }}"
release_name: "{{ gitea_ingress_nginx_release_name | default(namespace + '-gitea-ingress-nginx') }}" release_name: "{{ gitea_ingress_nginx_release_name | default(namespace + '-gitea-ingress-nginx') }}"
@ -32,7 +32,7 @@
wait: true wait: true
- name: Deploy DNS for Gitea - name: Deploy DNS for Gitea
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ gitea_dns_namespace | default(namespace) }}" release_namespace: "{{ gitea_dns_namespace | default(namespace) }}"
release_name: "{{ gitea_dns_relase_name | default(namespace + '-gitea-internal-dns') }}" release_name: "{{ gitea_dns_relase_name | default(namespace + '-gitea-internal-dns') }}"
@ -43,7 +43,7 @@
when: gitea_publish_web == false when: gitea_publish_web == false
- name: Deploy Gitea - name: Deploy Gitea
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ gitea_namespace | default(namespace) }}" release_namespace: "{{ gitea_namespace | default(namespace) }}"
release_name: "{{ gitea_release_name | default(namespace + '-gitea') }}" release_name: "{{ gitea_release_name | default(namespace + '-gitea') }}"

View File

@ -8,7 +8,7 @@
harbor_combined_values: "{{ harbor_default_values | combine(harbor_values, recursive=true) }}" harbor_combined_values: "{{ harbor_default_values | combine(harbor_values, recursive=true) }}"
- name: Deploy Harbor - name: Deploy Harbor
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ harbor_namespace | default(namespace) }}" release_namespace: "{{ harbor_namespace | default(namespace) }}"
release_name: "{{ harbor_name | default('harbor') }}" release_name: "{{ harbor_name | default('harbor') }}"

View File

@ -1,5 +1,5 @@
- name: Add Helm repositories - name: Add Helm repositories
community.kubernetes.helm_repository: kubernetes.core.helm_repository:
name: "{{ item.name }}" name: "{{ item.name }}"
repo_url: "{{ item.url }}" repo_url: "{{ item.url }}"
loop: loop:

View File

@ -2,7 +2,7 @@
internal_dns_combined_values: "{{ internal_dns_default_values | combine(internal_dns_values, recursive=true) }}" internal_dns_combined_values: "{{ internal_dns_default_values | combine(internal_dns_values, recursive=true) }}"
- name: Deploy internal DNS - name: Deploy internal DNS
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ internal_dns_namespace | default(dns_namespace) | default(namespace) }}" release_namespace: "{{ internal_dns_namespace | default(dns_namespace) | default(namespace) }}"
release_name: "{{ internal_dns_name | default(namespace + '-internal-dns') }}" release_name: "{{ internal_dns_name | default(namespace + '-internal-dns') }}"

View File

@ -2,7 +2,7 @@
internal_ingress_nginx_combined_values: "{{ internal_ingress_nginx_default_values | combine(internal_ingress_nginx_values, recursive=true) }}" internal_ingress_nginx_combined_values: "{{ internal_ingress_nginx_default_values | combine(internal_ingress_nginx_values, recursive=true) }}"
- name: Deploy internal Nginx Ingress - name: Deploy internal Nginx Ingress
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ internal_ingress_nginx_namespace | default(ingress_namespace) | default(namespace) }}" release_namespace: "{{ internal_ingress_nginx_namespace | default(ingress_namespace) | default(namespace) }}"
release_name: "{{ internal_ingress_nginx_name | default(namespace + '-internal-ingress-nginx') }}" release_name: "{{ internal_ingress_nginx_name | default(namespace + '-internal-ingress-nginx') }}"

View File

@ -2,7 +2,7 @@
local_dns_combined_values: "{{ local_dns_default_values | combine(local_dns_values, recursive=true) }}" local_dns_combined_values: "{{ local_dns_default_values | combine(local_dns_values, recursive=true) }}"
- name: Deploy local DNS - name: Deploy local DNS
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ local_dns_namespace | default(dns_namespace) | default(namespace) }}" release_namespace: "{{ local_dns_namespace | default(dns_namespace) | default(namespace) }}"
release_name: "{{ local_dns_name | default(namespace + '-local-dns') }}" release_name: "{{ local_dns_name | default(namespace + '-local-dns') }}"

View File

@ -2,7 +2,7 @@
local_ingress_nginx_combined_values: "{{ local_ingress_nginx_default_values | combine(local_ingress_nginx_values, recursive=true) }}" local_ingress_nginx_combined_values: "{{ local_ingress_nginx_default_values | combine(local_ingress_nginx_values, recursive=true) }}"
- name: Deploy local Nginx Ingress - name: Deploy local Nginx Ingress
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ local_ingress_nginx_namespace | default(ingress_namespace) | default(namespace) }}" release_namespace: "{{ local_ingress_nginx_namespace | default(ingress_namespace) | default(namespace) }}"
release_name: "{{ local_ingress_nginx_name | default(namespace + '-local-ingress-nginx') }}" release_name: "{{ local_ingress_nginx_name | default(namespace + '-local-ingress-nginx') }}"

View File

@ -8,7 +8,7 @@
mastodon_combined_values: "{{ mastodon_default_values | combine(mastodon_values, recursive=true) }}" mastodon_combined_values: "{{ mastodon_default_values | combine(mastodon_values, recursive=true) }}"
- name: Deploy Mastodon - name: Deploy Mastodon
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ mastodon_namespace | default(namespace) }}" release_namespace: "{{ mastodon_namespace | default(namespace) }}"
release_name: "{{ mastodon_name | default('mastodon') }}" release_name: "{{ mastodon_name | default('mastodon') }}"

View File

@ -1,2 +1,65 @@
strict_arp_for_metallb: true strict_arp_for_metallb: true
metallb_default_values: {} metallb_default_values: {}
metallb_pool_name: "default"
metallb_namespace: "metallb-system"
metallb_bgp_advertisement_name: "local"
metallb_bgp_aggregation_length: 32
metallb_bgp_localpref: 100
metallb_bgp_peer_name: "bgppeer"
metallb_bgp_peer_port: 179
metallb_l2_advertisement_name: "local"
metallb_bgp_definitions:
metallb_address_pool: |
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: "{{ metallb_pool_name }}"
namespace: "{{ metallb_namespace }}"
spec:
addresses: {{ metallb_address_pool }}
metallb_bgp_advertisement: |
apiVersion: metallb.io/v1beta1
kind: BGPAdvertisement
metadata:
name: "{{ metallb_bgp_advertisement_name }}"
namespace: "{{ metallb_namespace }}"
spec:
ipAddressPools:
- "{{ metallb_pool_name }}"
aggregationLength: {{ metallb_bgp_aggregation_length }}
localpref: {{ metallb_bgp_localpref }}
metallb_peer: |
apiVersion: metallb.io/v1beta2
kind: BGPPeer
metadata:
name: "{{ metallb_bgp_peer_name }}"
namespace: "{{ metallb_namespace }}"
spec:
myASN: {{ metallb_bgp_my_asn }}
peerASN: {{ metallb_bgp_peer_asn }}
peerAddress: {{ metallb_bgp_peer_address }}
peerPort: {{ metallb_bgp_peer_port }}
metallb_l2_definitions:
metallb_address_pool: |
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: "{{ metallb_pool_name }}"
namespace: "{{ metallb_namespace }}"
spec:
addresses: "{{ metallb_address_pool }}"
metallb_l2_advertisement: |
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: "{{ metallb_l2_advertisement_name }}"
namespace: "{{ metallb_namespace }}"
spec:
ipAddressPools:
- "{{ metallb_pool_name }}"

View File

@ -2,7 +2,7 @@
metallb_combined_values: "{{ metallb_default_values | combine(metallb_values, recursive=true) }}" metallb_combined_values: "{{ metallb_default_values | combine(metallb_values, recursive=true) }}"
- name: Deploy MetalLB - name: Deploy MetalLB
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ metallb_namespace | default('metallb-system') }}" release_namespace: "{{ metallb_namespace | default('metallb-system') }}"
release_name: "{{ metallb_name | default('metallb') }}" release_name: "{{ metallb_name | default('metallb') }}"
@ -30,3 +30,22 @@
when: when:
- strict_arp_for_metallb - strict_arp_for_metallb
- check_strict_arp.changed - check_strict_arp.changed
- name: Apply MetalLB L2 definitions
k8s:
state: present
definition:
"{{ item.value }}"
wait: true
loop: "{{ metallb_bgp_definitions | dict2items }}"
when: metallb_advertisement_type == 'L2'
- name: Apply MetalLB BGP definitions
k8s:
state: present
definition:
"{{ item.value }}"
wait: true
loop: "{{ metallb_bgp_definitions | dict2items }}"
when: metallb_advertisement_type == 'BGP'

View File

@ -2,7 +2,7 @@
metrics_server_combined_values: "{{ metrics_server_default_values | combine(metrics_server_values, recursive=true) }}" metrics_server_combined_values: "{{ metrics_server_default_values | combine(metrics_server_values, recursive=true) }}"
- name: Deploy Metrics server - name: Deploy Metrics server
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ metrics_server_namespace | default('metrics-server') }}" release_namespace: "{{ metrics_server_namespace | default('metrics-server') }}"
release_name: "{{ metrics_server_name | default('metrics-server') }}" release_name: "{{ metrics_server_name | default('metrics-server') }}"

View File

@ -8,7 +8,7 @@
nextcloud_combined_values: "{{ nextcloud_default_values | combine(nextcloud_values, recursive=true) }}" nextcloud_combined_values: "{{ nextcloud_default_values | combine(nextcloud_values, recursive=true) }}"
- name: Deploy Nextcloud - name: Deploy Nextcloud
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ nextcloud_namespace | default(namespace) }}" release_namespace: "{{ nextcloud_namespace | default(namespace) }}"
release_name: "{{ nextcloud_name | default('nextcloud') }}" release_name: "{{ nextcloud_name | default('nextcloud') }}"

View File

@ -2,7 +2,7 @@
nfs_client_provisioner_hdd_combined_values: "{{ nfs_client_provisioner_hdd_default_values | combine(nfs_client_provisioner_hdd_values, recursive=true) }}" nfs_client_provisioner_hdd_combined_values: "{{ nfs_client_provisioner_hdd_default_values | combine(nfs_client_provisioner_hdd_values, recursive=true) }}"
- name: Deploy NFS client provisioner for HDD storage - name: Deploy NFS client provisioner for HDD storage
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ nfs_client_provisioner_hdd_namespace | default(nfs_client_provisioner_namespace) | default(namespace) }}" release_namespace: "{{ nfs_client_provisioner_hdd_namespace | default(nfs_client_provisioner_namespace) | default(namespace) }}"
release_name: "{{ nfs_client_provisioner_hdd_name | default('nfs-client-provisioner-hdd') }}" release_name: "{{ nfs_client_provisioner_hdd_name | default('nfs-client-provisioner-hdd') }}"
@ -15,7 +15,7 @@
nfs_client_provisioner_ssd_combined_values: "{{ nfs_client_provisioner_ssd_default_values | combine(nfs_client_provisioner_ssd_values, recursive=true) }}" nfs_client_provisioner_ssd_combined_values: "{{ nfs_client_provisioner_ssd_default_values | combine(nfs_client_provisioner_ssd_values, recursive=true) }}"
- name: Deploy NFS client provisioner for SSD storage - name: Deploy NFS client provisioner for SSD storage
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ nfs_client_provisioner_ssd_namespace | default(nfs_client_provisioner_namespace) | default(namespace) }}" release_namespace: "{{ nfs_client_provisioner_ssd_namespace | default(nfs_client_provisioner_namespace) | default(namespace) }}"
release_name: "{{ nfs_client_provisioner_ssd_name | default('nfs-client-provisioner-ssd') }}" release_name: "{{ nfs_client_provisioner_ssd_name | default('nfs-client-provisioner-ssd') }}"

View File

@ -2,7 +2,7 @@
opendkim_combined_values: "{{ opendkim_default_values | combine(opendkim_values, recursive=true) }}" opendkim_combined_values: "{{ opendkim_default_values | combine(opendkim_values, recursive=true) }}"
- name: Deploy OpenDKIM - name: Deploy OpenDKIM
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ opendkim_namespace | default(mail_namespace) | default(namespace) }}" release_namespace: "{{ opendkim_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ opendkim_name | default('opendkim') }}" release_name: "{{ opendkim_name | default('opendkim') }}"

View File

@ -2,7 +2,7 @@
opendmarc_combined_values: "{{ opendmarc_default_values | combine(opendmarc_values, recursive=true) }}" opendmarc_combined_values: "{{ opendmarc_default_values | combine(opendmarc_values, recursive=true) }}"
- name: Deploy OpenDMARC - name: Deploy OpenDMARC
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ opendmarc_namespace | default(mail_namespace) | default(namespace) }}" release_namespace: "{{ opendmarc_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ opendmarc_name | default('opendmarc') }}" release_name: "{{ opendmarc_name | default('opendmarc') }}"

View File

@ -34,7 +34,7 @@
openldap_combined_values: "{{ openldap_default_values | combine(openldap_values, recursive=true) }}" openldap_combined_values: "{{ openldap_default_values | combine(openldap_values, recursive=true) }}"
- name: Deploy OpenLDAP - name: Deploy OpenLDAP
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ openldap_namespace | default(namespace) }}" release_namespace: "{{ openldap_namespace | default(namespace) }}"
release_name: "{{ openldap_name | default('openldap') }}" release_name: "{{ openldap_name | default('openldap') }}"

View File

@ -8,7 +8,7 @@
peertube_combined_values: "{{ peertube_default_values | combine(peertube_values, recursive=true) }}" peertube_combined_values: "{{ peertube_default_values | combine(peertube_values, recursive=true) }}"
- name: Deploy PeerTube - name: Deploy PeerTube
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ peertube_namespace | default(namespace) }}" release_namespace: "{{ peertube_namespace | default(namespace) }}"
release_name: "{{ peertube_name | default('peertube') }}" release_name: "{{ peertube_name | default('peertube') }}"

View File

@ -2,7 +2,7 @@
playmaker_combined_values: "{{ playmaker_default_values | combine(playmaker_values, recursive=true) }}" playmaker_combined_values: "{{ playmaker_default_values | combine(playmaker_values, recursive=true) }}"
- name: Deploy Docker playmaker - name: Deploy Docker playmaker
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ playmaker_namespace | default(namespace) }}" release_namespace: "{{ playmaker_namespace | default(namespace) }}"
release_name: "{{ playmaker_name | default('playmaker') }}" release_name: "{{ playmaker_name | default('playmaker') }}"

View File

@ -2,7 +2,7 @@
postfix_combined_values: "{{ postfix_default_values | combine(postfix_values, recursive=true) }}" postfix_combined_values: "{{ postfix_default_values | combine(postfix_values, recursive=true) }}"
- name: Deploy Postfix - name: Deploy Postfix
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ postfix_namespace | default(mail_namespace) | default(namespace) }}" release_namespace: "{{ postfix_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ postfix_name | default('postfix') }}" release_name: "{{ postfix_name | default('postfix') }}"

View File

@ -46,7 +46,7 @@
postgres_operator_combined_values: "{{ postgres_operator_default_values | combine(postgres_operator_values, recursive=true) }}" postgres_operator_combined_values: "{{ postgres_operator_default_values | combine(postgres_operator_values, recursive=true) }}"
- name: Deploy Postgres-operator - name: Deploy Postgres-operator
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ postgres_operator_namespace | default(namespace) }}" release_namespace: "{{ postgres_operator_namespace | default(namespace) }}"
release_name: "{{ postgres_operator_name | default('postgres-operator') }}" release_name: "{{ postgres_operator_name | default('postgres-operator') }}"
@ -59,7 +59,7 @@
postgres_operator_ui_combined_values: "{{ postgres_operator_ui_default_values | combine(postgres_operator_ui_values, recursive=true) }}" postgres_operator_ui_combined_values: "{{ postgres_operator_ui_default_values | combine(postgres_operator_ui_values, recursive=true) }}"
- name: Deploy Postgres-operator UI - name: Deploy Postgres-operator UI
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ postgres_operator_ui_namespace | default(postgres_operator_namespace) | default(namespace) }}" release_namespace: "{{ postgres_operator_ui_namespace | default(postgres_operator_namespace) | default(namespace) }}"
release_name: "{{ postgres_operator_ui_name | default('postgres-operator-ui') }}" release_name: "{{ postgres_operator_ui_name | default('postgres-operator-ui') }}"

View File

@ -2,7 +2,7 @@
pypiserver_combined_values: "{{ pypiserver_default_values | combine(pypiserver_values, recursive=true) }}" pypiserver_combined_values: "{{ pypiserver_default_values | combine(pypiserver_values, recursive=true) }}"
- name: Deploy Docker pypiserver - name: Deploy Docker pypiserver
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ pypiserver_namespace | default(namespace) }}" release_namespace: "{{ pypiserver_namespace | default(namespace) }}"
release_name: "{{ pypiserver_name | default('pypiserver') }}" release_name: "{{ pypiserver_name | default('pypiserver') }}"

View File

@ -2,7 +2,7 @@
registry_combined_values: "{{ registry_default_values | combine(registry_values, recursive=true) }}" registry_combined_values: "{{ registry_default_values | combine(registry_values, recursive=true) }}"
- name: Deploy Docker registry - name: Deploy Docker registry
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ registry_namespace | default(namespace) }}" release_namespace: "{{ registry_namespace | default(namespace) }}"
release_name: "{{ registry_name | default('docker-registry') }}" release_name: "{{ registry_name | default('docker-registry') }}"

View File

@ -8,7 +8,7 @@
roundcube_combined_values: "{{ roundcube_default_values | combine(roundcube_values, recursive=true) }}" roundcube_combined_values: "{{ roundcube_default_values | combine(roundcube_values, recursive=true) }}"
- name: Deploy RoundCube - name: Deploy RoundCube
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ roundcube_namespace | default(mail_namespace) | default(namespace) }}" release_namespace: "{{ roundcube_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ roundcube_name | default('roundcube') }}" release_name: "{{ roundcube_name | default('roundcube') }}"

View File

@ -2,7 +2,7 @@
rspamd_combined_values: "{{ rspamd_default_values | combine(rspamd_values, recursive=true) }}" rspamd_combined_values: "{{ rspamd_default_values | combine(rspamd_values, recursive=true) }}"
- name: Deploy Rspamd - name: Deploy Rspamd
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ rspamd_namespace | default(mail_namespace) | default(namespace) }}" release_namespace: "{{ rspamd_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ rspamd_name | default('rspamd') }}" release_name: "{{ rspamd_name | default('rspamd') }}"

View File

@ -2,7 +2,7 @@
service_dns_combined_values: "{{ service_dns_default_values | combine(service_dns_values, recursive=true) }}" service_dns_combined_values: "{{ service_dns_default_values | combine(service_dns_values, recursive=true) }}"
- name: Deploy service DNS - name: Deploy service DNS
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ service_dns_namespace | default(dns_namespace) | default(namespace) }}" release_namespace: "{{ service_dns_namespace | default(dns_namespace) | default(namespace) }}"
release_name: "{{ service_dns_name | default(namespace + '-service-dns') }}" release_name: "{{ service_dns_name | default(namespace + '-service-dns') }}"

View File

@ -8,7 +8,7 @@
wikijs_combined_values: "{{ wikijs_default_values | combine(wikijs_values, recursive=true) }}" wikijs_combined_values: "{{ wikijs_default_values | combine(wikijs_values, recursive=true) }}"
- name: Deploy WikiJS - name: Deploy WikiJS
community.kubernetes.helm: kubernetes.core.helm:
create_namespace: true create_namespace: true
release_namespace: "{{ wikijs_namespace | default(namespace) }}" release_namespace: "{{ wikijs_namespace | default(namespace) }}"
release_name: "{{ wikijs_name | default('wikijs') }}" release_name: "{{ wikijs_name | default('wikijs') }}"