Browse Source

Update files for rageshake: change config.yml.j2 → config.yaml.j2

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4036/head
Suguru Hirahara 1 year ago
parent
commit
51f0a315ac
No known key found for this signature in database GPG Key ID: E4F9743DAB4B7B75
4 changed files with 3 additions and 3 deletions
  1. +1
    -1
      roles/custom/matrix-rageshake/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-rageshake/tasks/install.yml
  3. +0
    -0
      roles/custom/matrix-rageshake/templates/config.yaml.j2
  4. +1
    -1
      roles/custom/matrix-rageshake/templates/systemd/matrix-rageshake.service.j2

+ 1
- 1
roles/custom/matrix-rageshake/defaults/main.yml View File

@@ -93,7 +93,7 @@ matrix_rageshake_config_api_prefix: "{{ matrix_rageshake_scheme }}://{{ matrix_r
# #
# For a more advanced customization, you can extend the default (see `matrix_rageshake_configuration_extension_yaml`) # For a more advanced customization, you can extend the default (see `matrix_rageshake_configuration_extension_yaml`)
# or completely replace this variable with your own template. # or completely replace this variable with your own template.
matrix_rageshake_configuration_yaml: "{{ lookup('template', 'templates/config.yml.j2') }}"
matrix_rageshake_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"


matrix_rageshake_configuration_extension_yaml: | matrix_rageshake_configuration_extension_yaml: |
# Your custom YAML configuration for Synapse goes here. # Your custom YAML configuration for Synapse goes here.


+ 1
- 1
roles/custom/matrix-rageshake/tasks/install.yml View File

@@ -19,7 +19,7 @@
- name: Ensure rageshake config file created - name: Ensure rageshake config file created
ansible.builtin.copy: ansible.builtin.copy:
content: "{{ matrix_rageshake_configuration | to_nice_yaml(indent=2, width=999999) }}" content: "{{ matrix_rageshake_configuration | to_nice_yaml(indent=2, width=999999) }}"
dest: "{{ matrix_rageshake_config_path }}/config.yml"
dest: "{{ matrix_rageshake_config_path }}/config.yaml"
owner: "{{ matrix_user_username }}" owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}" group: "{{ matrix_user_groupname }}"
mode: 0640 mode: 0640


roles/custom/matrix-rageshake/templates/config.yml.j2 → roles/custom/matrix-rageshake/templates/config.yaml.j2 View File


+ 1
- 1
roles/custom/matrix-rageshake/templates/systemd/matrix-rageshake.service.j2 View File

@@ -32,7 +32,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
{{ arg }} \ {{ arg }} \
{% endfor %} {% endfor %}
{{ matrix_rageshake_container_image }} \ {{ matrix_rageshake_container_image }} \
--config /config/config.yml
--config /config/config.yaml


{% for network in matrix_rageshake_container_additional_networks %} {% for network in matrix_rageshake_container_additional_networks %}
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-rageshake ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-rageshake


Loading…
Cancel
Save