| @@ -80,7 +80,7 @@ matrix_server_fqn_cinny: "cinny.{{ matrix_domain }}" | |||||
| # This is where you access the SchildiChat Web from (if enabled via matrix_client_schildichat_enabled; disabled by default). | # This is where you access the SchildiChat Web from (if enabled via matrix_client_schildichat_enabled; disabled by default). | ||||
| matrix_server_fqn_schildichat: "schildichat.{{ matrix_domain }}" | matrix_server_fqn_schildichat: "schildichat.{{ matrix_domain }}" | ||||
| # This is where you access the fluffychat Web from (if enabled via matrix_client_fluffychat_enabled; disabled by default). | |||||
| # This is where you access the FluffyChat Web from (if enabled via matrix_client_fluffychat_enabled; disabled by default). | |||||
| matrix_server_fqn_fluffychat: "fluffychat.{{ matrix_domain }}" | matrix_server_fqn_fluffychat: "fluffychat.{{ matrix_domain }}" | ||||
| # This is where you access the Buscarron bot from (if enabled via matrix_bot_buscarron_enabled; disabled by default). | # This is where you access the Buscarron bot from (if enabled via matrix_bot_buscarron_enabled; disabled by default). | ||||
| @@ -126,10 +126,10 @@ matrix_client_fluffychat_floc_optout_enabled: true | |||||
| matrix_client_fluffychat_hsts_preload_enabled: false | matrix_client_fluffychat_hsts_preload_enabled: false | ||||
| matrix_client_fluffychat_scheme: https | matrix_client_fluffychat_scheme: https | ||||
| # The hostname at which fluffychat Web is served. | |||||
| # The hostname at which FluffyChat Web is served. | |||||
| matrix_client_fluffychat_hostname: "{{ matrix_server_fqn_fluffychat }}" | matrix_client_fluffychat_hostname: "{{ matrix_server_fqn_fluffychat }}" | ||||
| # The path at which fluffychat Web is exposed. | |||||
| # The path at which FluffyChat Web is exposed. | |||||
| # This value must either be `/` or not end with a slash (e.g. `/fluffychat`). | # This value must either be `/` or not end with a slash (e.g. `/fluffychat`). | ||||
| matrix_client_fluffychat_path_prefix: / | matrix_client_fluffychat_path_prefix: / | ||||
| @@ -3,7 +3,7 @@ | |||||
| - ansible.builtin.set_fact: | - ansible.builtin.set_fact: | ||||
| matrix_client_fluffychat_url_endpoint_public: "{{ matrix_client_fluffychat_scheme }}://{{ matrix_client_fluffychat_hostname }}/" | matrix_client_fluffychat_url_endpoint_public: "{{ matrix_client_fluffychat_scheme }}://{{ matrix_client_fluffychat_hostname }}/" | ||||
| - name: Check fluffychat Web | |||||
| - name: Check FluffyChat Web | |||||
| ansible.builtin.uri: | ansible.builtin.uri: | ||||
| url: "{{ matrix_client_fluffychat_url_endpoint_public }}" | url: "{{ matrix_client_fluffychat_url_endpoint_public }}" | ||||
| follow_redirects: none | follow_redirects: none | ||||
| @@ -14,11 +14,11 @@ | |||||
| delegate_to: 127.0.0.1 | delegate_to: 127.0.0.1 | ||||
| become: false | become: false | ||||
| - name: Fail if fluffychat Web not working | |||||
| - name: Fail if FluffyChat Web not working | |||||
| ansible.builtin.fail: | ansible.builtin.fail: | ||||
| msg: "Failed checking fluffychat Web is up at `{{ matrix_server_fqn_fluffychat }}` (checked endpoint: `{{ matrix_client_fluffychat_url_endpoint_public }}`). Is fluffychat Web running? Is port 443 open in your firewall? Full error: {{ matrix_client_fluffychat_self_check_result }}" | |||||
| msg: "Failed checking FluffyChat Web is up at `{{ matrix_server_fqn_fluffychat }}` (checked endpoint: `{{ matrix_client_fluffychat_url_endpoint_public }}`). Is FluffyChat Web running? Is port 443 open in your firewall? Full error: {{ matrix_client_fluffychat_self_check_result }}" | |||||
| when: "matrix_client_fluffychat_self_check_result.failed or 'json' not in matrix_client_fluffychat_self_check_result" | when: "matrix_client_fluffychat_self_check_result.failed or 'json' not in matrix_client_fluffychat_self_check_result" | ||||
| - name: Report working fluffychat Web | |||||
| - name: Report working FluffyChat Web | |||||
| ansible.builtin.debug: | ansible.builtin.debug: | ||||
| msg: "fluffychat Web at `{{ matrix_server_fqn_fluffychat }}` is working (checked endpoint: `{{ matrix_client_fluffychat_url_endpoint_public }}`)" | |||||
| msg: "FluffyChat Web at `{{ matrix_server_fqn_fluffychat }}` is working (checked endpoint: `{{ matrix_client_fluffychat_url_endpoint_public }}`)" | |||||
| @@ -1,6 +1,6 @@ | |||||
| --- | --- | ||||
| - name: Ensure fluffychat Web paths exists | |||||
| - name: Ensure FluffyChat Web paths exists | |||||
| ansible.builtin.file: | ansible.builtin.file: | ||||
| path: "{{ item.path }}" | path: "{{ item.path }}" | ||||
| state: directory | state: directory | ||||
| @@ -12,7 +12,7 @@ | |||||
| - {path: "{{ matrix_client_fluffychat_container_src_files_path }}", when: "{{ matrix_client_fluffychat_container_image_self_build }}"} | - {path: "{{ matrix_client_fluffychat_container_src_files_path }}", when: "{{ matrix_client_fluffychat_container_image_self_build }}"} | ||||
| when: "item.when | bool" | when: "item.when | bool" | ||||
| - name: Ensure fluffychat Web container image is pulled | |||||
| - name: Ensure FluffyChat Web container image is pulled | |||||
| community.docker.docker_image: | community.docker.docker_image: | ||||
| name: "{{ matrix_client_fluffychat_docker_image }}" | name: "{{ matrix_client_fluffychat_docker_image }}" | ||||
| source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" | source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" | ||||
| @@ -26,7 +26,7 @@ | |||||
| - when: "matrix_client_fluffychat_container_image_self_build | bool" | - when: "matrix_client_fluffychat_container_image_self_build | bool" | ||||
| block: | block: | ||||
| - name: Ensure fluffychat Web repository is present on self-build | |||||
| - name: Ensure FluffyChat Web repository is present on self-build | |||||
| ansible.builtin.git: | ansible.builtin.git: | ||||
| repo: "{{ matrix_client_fluffychat_container_image_self_build_repo }}" | repo: "{{ matrix_client_fluffychat_container_image_self_build_repo }}" | ||||
| dest: "{{ matrix_client_fluffychat_container_src_files_path }}" | dest: "{{ matrix_client_fluffychat_container_src_files_path }}" | ||||
| @@ -36,7 +36,7 @@ | |||||
| become_user: "{{ matrix_user_username }}" | become_user: "{{ matrix_user_username }}" | ||||
| register: matrix_client_fluffychat_git_pull_results | register: matrix_client_fluffychat_git_pull_results | ||||
| - name: Ensure fluffychat Web container image is built | |||||
| - name: Ensure FluffyChat Web container image is built | |||||
| ansible.builtin.command: | ansible.builtin.command: | ||||
| cmd: |- | cmd: |- | ||||
| {{ devture_systemd_docker_base_host_command_docker }} buildx build | {{ devture_systemd_docker_base_host_command_docker }} buildx build | ||||
| @@ -45,7 +45,7 @@ | |||||
| {{ matrix_client_fluffychat_container_src_files_path }} | {{ matrix_client_fluffychat_container_src_files_path }} | ||||
| changed_when: true | changed_when: true | ||||
| - name: Ensure fluffychat Web config files installed | |||||
| - name: Ensure FluffyChat Web config files installed | |||||
| ansible.builtin.template: | ansible.builtin.template: | ||||
| src: "{{ item.src }}" | src: "{{ item.src }}" | ||||
| dest: "{{ matrix_client_fluffychat_data_path }}/{{ item.name }}" | dest: "{{ matrix_client_fluffychat_data_path }}/{{ item.name }}" | ||||
| @@ -56,7 +56,7 @@ | |||||
| - {src: "{{ role_path }}/templates/labels.j2", name: "labels"} | - {src: "{{ role_path }}/templates/labels.j2", name: "labels"} | ||||
| when: "item.src is not none" | when: "item.src is not none" | ||||
| - name: Ensure fluffychat Web container network is created | |||||
| - name: Ensure FluffyChat Web container network is created | |||||
| community.general.docker_network: | community.general.docker_network: | ||||
| enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}" | enable_ipv6: "{{ devture_systemd_docker_base_ipv6_enabled }}" | ||||
| name: "{{ matrix_client_fluffychat_container_network }}" | name: "{{ matrix_client_fluffychat_container_network }}" | ||||
| @@ -19,7 +19,7 @@ | |||||
| path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-client-fluffychat.service" | path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-client-fluffychat.service" | ||||
| state: absent | state: absent | ||||
| - name: Ensure fluffychat Web path doesn't exist | |||||
| - name: Ensure FluffyChat Web path doesn't exist | |||||
| ansible.builtin.file: | ansible.builtin.file: | ||||
| path: "{{ matrix_client_fluffychat_data_path }}" | path: "{{ matrix_client_fluffychat_data_path }}" | ||||
| state: absent | state: absent | ||||
| @@ -1,9 +1,9 @@ | |||||
| --- | --- | ||||
| - name: Fail if required fluffychat Web settings not defined | |||||
| - name: Fail if required FluffyChat Web settings not defined | |||||
| ansible.builtin.fail: | ansible.builtin.fail: | ||||
| msg: > | msg: > | ||||
| You need to define a required configuration setting (`{{ item }}`) for using fluffychat Web. | |||||
| You need to define a required configuration setting (`{{ item }}`) for using FluffyChat Web. | |||||
| when: "vars[item] == ''" | when: "vars[item] == ''" | ||||
| with_items: | with_items: | ||||
| - matrix_client_fluffychat_container_network | - matrix_client_fluffychat_container_network | ||||
| @@ -1,6 +1,6 @@ | |||||
| #jinja2: lstrip_blocks: "True" | #jinja2: lstrip_blocks: "True" | ||||
| [Unit] | [Unit] | ||||
| Description=Matrix fluffychat Web server | |||||
| Description=Matrix FluffyChat Web server | |||||
| {% for service in matrix_client_fluffychat_systemd_required_services_list %} | {% for service in matrix_client_fluffychat_systemd_required_services_list %} | ||||
| Requires={{ service }} | Requires={{ service }} | ||||
| After={{ service }} | After={{ service }} | ||||