You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/roles/management/tasks/main.yaml

41 lines
906 B
YAML

---
### tags:
### update_configuration
- name: "Creating smardigo user token"
smardigo_user_token:
secret: "{{ connect_jwt_secret }}"
user_id: "{{ connect_admin_username }}"
register: smardigo_user_token_result
delegate_to: 127.0.0.1
become: false
tags:
- always
- name: "Setting smardigo_auth_token_value as fact"
set_fact:
smardigo_auth_token_value: "{{ smardigo_user_token_result.token }}"
tags:
- always
- name: "Create database for <{{ inventory_hostname }}> if necessary"
include_role:
name: connect_postgres
vars:
ansible_ssh_host: "{{ stage }}-postgres-01.{{ domain }}"
tags:
- always
- name: "Create realm for <{{ inventory_hostname }}> if necessary"
include_role:
name: connect_realm
tags:
- always
- name: "Create connect for <{{ inventory_hostname }}> if necessary"
include_role:
name: connect
tags:
- always