diff --git a/ansible/alloy/miranda/config.alloy.j2 b/ansible/alloy/miranda/config.alloy.j2 index b87d359..72d0830 100644 --- a/ansible/alloy/miranda/config.alloy.j2 +++ b/ansible/alloy/miranda/config.alloy.j2 @@ -79,20 +79,6 @@ loki.source.syslog "neo4j_cypher_logs" { forward_to = [loki.write.default.receiver] } -loki.source.syslog "neo4j_memory_logs" { - listener { - address = "127.0.0.1:{{neo4j_memory_syslog_port}}" - protocol = "tcp" - syslog_format = "{{ syslog_format }}" - labels = { - job = "neo4j-memory", - hostname = "{{inventory_hostname}}", - environment = "{{deployment_environment}}", - } - } - forward_to = [loki.write.default.receiver] -} - loki.source.syslog "gitea_mcp_logs" { listener { address = "127.0.0.1:{{gitea_mcp_syslog_port}}" diff --git a/ansible/inventory/host_vars/titania.incus.yml b/ansible/inventory/host_vars/titania.incus.yml index bcb3316..e28ba7c 100644 --- a/ansible/inventory/host_vars/titania.incus.yml +++ b/ansible/inventory/host_vars/titania.incus.yml @@ -29,7 +29,7 @@ certbot_cert_name: ouranos.helu.ca prometheus_node_exporter_text_directory: /var/lib/prometheus/node-exporter certbot_certificates: - cert_name: wildcard.ouranos.helu.ca - domains: ["*.ouranos.helu.ca"] + domains: ["*.ouranos.helu.ca", "ouranos.helu.ca"] # HAProxy Configuration haproxy_user: haproxy diff --git a/ansible/mcpo/config.json.j2 b/ansible/mcpo/config.json.j2 index ca6348d..805ba6e 100644 --- a/ansible/mcpo/config.json.j2 +++ b/ansible/mcpo/config.json.j2 @@ -12,9 +12,9 @@ ] }, "angelia": { - "url": "{{angelia_mcp_url}}", + "url": "https://ouranos.helu.ca/mcp/", "headers": { - "Authorization": "Bearer {{angelia_mcp_auth}}" + "Authorization": "Bearer LmDTU1OoQm7nk8-T7NtGwwA5aut7LqcpVYpLxRKUS51klljJkFUbmu3KYnR8V6Ww" } }, "argos": { diff --git a/ansible/mcpo/deploy.yml b/ansible/mcpo/deploy.yml index 2e6a569..69a24d3 100644 --- a/ansible/mcpo/deploy.yml +++ b/ansible/mcpo/deploy.yml @@ -1,6 +1,9 @@ --- - name: Deploy MCPO as a system service hosts: mcpo + vars: + ansible_common_remote_group: "{{mcpo_group}}" + allow_world_readable_tmpfiles: true handlers: - name: restart mcpo become: true @@ -39,6 +42,7 @@ mode: '750' - name: Check if config.json exists + become: true ansible.builtin.stat: path: "{{mcpo_directory}}/config.json" register: config_file