Skip to content
Snippets Groups Projects
Commit e9aa3b02 authored by Jens Sandmann's avatar Jens Sandmann
Browse files

Changed playbook from include to import_playbook because include will be depricated in 2.8

parent 8a3f56e5
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
#
# Beispiel: (Auslesen von Passörtern aus /srv/xyz/secret_pw, registrierung als Variable secret_pw, erzeugung mit 24 Zeichen falls nicht vorhanden)
#
# - include: ../functions/get_secret.yml
# - import_playbook: ../functions/get_secret.yml
# with_items:
# - { path: /srv/xyz/secret_pw, length: 24 }
# - { path: /srv/xyz/secret2_pw, length: 12 }
......
---
# Hauptdatei, includiert lediglich die einzelnen Playbooks
- include: all/main.yml
- include: vorstandspi/main.yml
- include: warphab/main.yml
- include: warpsrvint/main.yml
- include: warpsrvext/main.yml
- include: webserver/main.yml
- include: webserver-test/main.yml
- import_playbook: all/main.yml
- import_playbook: vorstandspi/main.yml
- import_playbook: warphab/main.yml
- import_playbook: warpsrvint/main.yml
- import_playbook: warpsrvext/main.yml
- import_playbook: webserver/main.yml
- import_playbook: webserver-test/main.yml
---
# Get secrets
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/ldap/secret/ldap_readonly_pass, length: 24 }
- { path: /srv/grafana/grafana_admin_pass, length: 12 }
......
---
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/influx/influx_admin_pw, length: 24 }
......
---
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/influx/influx_admin_pw, length: 24 }
- { path: /srv/kapacitor/alerta_token, length: -1 }
......
......@@ -10,7 +10,7 @@
- "/srv/l4z0r/db"
# Get secrets
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/l4z0r/mysql_root_pw, length: 24 }
- { path: /srv/l4z0r/mysql_user_pw, length: 12 }
......
---
# Get secrets
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/librenms/mysql_root_pw, length: 24 }
- { path: /srv/librenms/mysql_user_pw, length: 12 }
......
---
# Get secrets
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/matestatdb/postgres_admin_pw, length: 24 }
......
---
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/alerta/alerta_secret_key, length: 24 }
- { path: /srv/alerta/alerta_oauth_client_secret, length: -1 }
......
---
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/hackmd/mysql_root_pass, length: 24 }
- { path: /srv/hackmd/mysql_user_pass, length: 12 }
......
......@@ -20,7 +20,7 @@
- "/srv/jabber_test/saslauthd"
# Get secrets
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/ldap/secret/ldap_readonly_pass, length: 24 }
......
---
- include: ../functions/get_secret.yml
- import_playbook: ../functions/get_secret.yml
with_items:
- { path: /srv/keycloak/keycloak_admin_pass, length: 24 }
- { path: /srv/keycloak/postgres_user_pass, length: 12 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment