Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • infrastruktur/ansible-warpzone
  • specki/ansible-warpzone
2 results
Show changes
Commits on Source (29)
Showing
with 792 additions and 18 deletions
- include: ../functions/get_secret.yml - include_tasks: ../functions/get_secret.yml
with_items: with_items:
- { path: "{{ basedir }}/letsencrypt_notification_email", length: -1 } - { path: "{{ basedir }}/letsencrypt_notification_email", length: -1 }
when: selfSignedCN is not defined when: selfSignedCN is not defined
......
...@@ -63,9 +63,6 @@ alert: ...@@ -63,9 +63,6 @@ alert:
- { name: "heimdall_app_1" } - { name: "heimdall_app_1" }
- { name: "homeassistant_app_1" } - { name: "homeassistant_app_1" }
- { name: "homeassistant_influxdb_1" } - { name: "homeassistant_influxdb_1" }
- { name: "homematic_app_1" }
- { name: "homematic_influxdb_1" }
- { name: "homematic_telegraf_1" }
- { name: "mqtt_app_1" } - { name: "mqtt_app_1" }
- { name: "mqtt_influxdb_1" } - { name: "mqtt_influxdb_1" }
- { name: "mqtt_tgbinary_1" } - { name: "mqtt_tgbinary_1" }
......
...@@ -19,6 +19,10 @@ ...@@ -19,6 +19,10 @@
payload: "CLOSED" payload: "CLOSED"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status_once
payload: "OPEN"
then:
- switch.turn_on: relay
status_led: status_led:
pin: pin:
......
...@@ -19,6 +19,10 @@ ...@@ -19,6 +19,10 @@
payload: "CLOSED" payload: "CLOSED"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status_once
payload: "OPEN"
then:
- switch.turn_on: relay
status_led: status_led:
pin: pin:
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
{% include "/includes/ansible.inc.yaml" %} {% include "/includes/ansible.inc.yaml" %}
{% include "/includes/board.esp01_1m.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %}
comment: Halogen Lounge comment: frei
{% include "/includes/common.inc.yaml" %} {% include "/includes/common.inc.yaml" %}
on_message: on_message:
......
...@@ -19,6 +19,10 @@ ...@@ -19,6 +19,10 @@
payload: "CLOSED" payload: "CLOSED"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status_once
payload: "OPEN"
then:
- switch.turn_on: relay
substitutions: substitutions:
plug_name: {{ devicename }} plug_name: {{ devicename }}
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
{% include "/includes/ansible.inc.yaml" %} {% include "/includes/ansible.inc.yaml" %}
{% include "/includes/board.esp01_1m.inc.yaml" %} {% include "/includes/board.esp01_1m.inc.yaml" %}
comment: 3D Drucker Prusanet comment: WLED Vorhang
{% include "/includes/common.inc.yaml" %} {% include "/includes/common.inc.yaml" %}
on_message: on_message:
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
payload: "OFF" payload: "OFF"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status_once
payload: "OPEN"
then:
- switch.turn_on: relay
substitutions: substitutions:
plug_name: {{ devicename }} plug_name: {{ devicename }}
......
...@@ -135,7 +135,7 @@ climate: ...@@ -135,7 +135,7 @@ climate:
id: pid_heater id: pid_heater
name: "PID Heater Controller" name: "PID Heater Controller"
sensor: pot_sensor sensor: pot_sensor
default_target_temperature: 240 default_target_temperature: 220
heat_output: pot_heater heat_output: pot_heater
control_parameters: control_parameters:
kp: 0.09549 kp: 0.09549
......
--- ---
- include: ../functions/get_secret.yml - include_tasks: ../functions/get_secret.yml
with_items: with_items:
- { path: "{{ basedir }}/warpai_status_update_key", length: -1 } - { path: "{{ basedir }}/warpai_status_update_key", length: -1 }
- { path: "{{ basedir }}/homeassistant_admin_password", length: 12 } - { path: "{{ basedir }}/homeassistant_admin_password", length: 12 }
......
--- ---
- include: ../functions/get_secret.yml - include_tasks: ../functions/get_secret.yml
with_items: with_items:
- { path: "{{ basedir }}/influxdb_password", length: 12 } - { path: "{{ basedir }}/influxdb_password", length: 12 }
- { path: "{{ basedir }}/influxdb_token", length: 24 } - { path: "{{ basedir }}/influxdb_token", length: 24 }
......
--- ---
- include: ../functions/get_secret.yml - include_tasks: ../functions/get_secret.yml
with_items: with_items:
- { path: "{{ basedir }}/homeassistant_admin_password", length: 12 } - { path: "{{ basedir }}/homeassistant_admin_password", length: 12 }
- { path: "{{ basedir }}/influxdb_password", length: 12 } - { path: "{{ basedir }}/influxdb_password", length: 12 }
......
--- ---
# Get secrets # Get secrets
- include: ../functions/get_secret.yml - include_tasks: ../functions/get_secret.yml
with_items: with_items:
- { path: /srv/gitea/mysql_root_pw, length: 24 } - { path: /srv/gitea/mysql_root_pw, length: 24 }
- { path: /srv/gitea/mysql_user_pw, length: 12 } - { path: /srv/gitea/mysql_user_pw, length: 12 }
......
--- ---
# Get secrets # Get secrets
- include: ../functions/get_secret.yml - include_tasks: ../functions/get_secret.yml
with_items: with_items:
- { path: /srv/mysql/mysql_root_pw, length: 24 } - { path: /srv/mysql/mysql_root_pw, length: 24 }
- { path: /srv/mysql/mysql_user_pw, length: 12 } - { path: /srv/mysql/mysql_user_pw, length: 12 }
......
--- ---
- include: ../functions/get_secret.yml - include_tasks: ../functions/get_secret.yml
with_items: with_items:
- { path: /srv/nextcloud/nextcloud_admin_pass, length: 24 } - { path: /srv/nextcloud/nextcloud_admin_pass, length: 24 }
- { path: /srv/nextcloud/mysql_admin_pass, length: 24 } - { path: /srv/nextcloud/mysql_admin_pass, length: 24 }
......
...@@ -42,6 +42,9 @@ services: ...@@ -42,6 +42,9 @@ services:
MYSQL_HOST: mysql MYSQL_HOST: mysql
NEXTCLOUD_ADMIN_USER: "admin" NEXTCLOUD_ADMIN_USER: "admin"
NEXTCLOUD_ADMIN_PASSWORD: "{{nextcloud_admin_pass}}" NEXTCLOUD_ADMIN_PASSWORD: "{{nextcloud_admin_pass}}"
OVERWRITEPROTOCOL: https
OVERWRITECLIURL: https://{{ domain }}
OVERWRITEHOST: {{ domain }}
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.{{ servicename }}.rule=Host(`{{ domain }}`) - traefik.http.routers.{{ servicename }}.rule=Host(`{{ domain }}`)
......
--- ---
- include: ../functions/get_secret.yml - include_tasks: ../functions/get_secret.yml
with_items: with_items:
- { path: /srv/ldap/secret/ldap_readonly_pass, length: -1 } - { path: /srv/ldap/secret/ldap_readonly_pass, length: -1 }
- { path: "{{ basedir }}/icinga_admin_pass", length: 12 } - { path: "{{ basedir }}/icinga_admin_pass", length: 12 }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
################################### ###################################
# Set Version # Set Version
MAILU_VERSION=2.0.15 MAILU_VERSION=2.0.16
# enable IPv6 # enable IPv6
SUBNET6=fd00:dead:beef:25::/64 SUBNET6=fd00:dead:beef:25::/64
...@@ -27,9 +27,6 @@ SQLALCHEMY_DATABASE_URI_ROUNDCUBE=mysql://roundcube:{{ roundcube_db_pass }}@db/r ...@@ -27,9 +27,6 @@ SQLALCHEMY_DATABASE_URI_ROUNDCUBE=mysql://roundcube:{{ roundcube_db_pass }}@db/r
# Common configuration variables # Common configuration variables
################################### ###################################
# Set mailu version
MAILU_VERSION=2.0
# Set to a randomly generated 16 bytes string # Set to a randomly generated 16 bytes string
SECRET_KEY={{ mailu_secret_key }} SECRET_KEY={{ mailu_secret_key }}
......