This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
316595a
commit 0baf3fa
Showing
10 changed files
with
36 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
--- | ||
- name: reload nginx | ||
service: | ||
- name: Reload nginx | ||
ansible.builtin.service: | ||
name: nginx | ||
state: reloaded | ||
|
||
- name: restart elasticsearch | ||
service: | ||
name: elasticsearch | ||
state: restarted | ||
|
||
- name: Set Elasticsearch server address | ||
command: zammad run rails r "Setting.set('es_url', '{{ elasticsearch_url | quote }}')" | ||
ansible.builtin.command: zammad run rails r "Setting.set('es_url', '{{ elasticsearch_url | quote }}')" | ||
changed_when: true | ||
|
||
- name: Build search index | ||
command: zammad run rake searchindex:rebuild | ||
ansible.builtin.command: zammad run rake searchindex:rebuild | ||
changed_when: true | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
|
||
- name: Install zammad | ||
import_tasks: install.yml | ||
ansible.builtin.import_tasks: install.yml | ||
|
||
- name: Set up SSL/TLS | ||
import_tasks: ssl.yml | ||
ansible.builtin.import_tasks: ssl.yml | ||
|
||
- name: Configure nginx | ||
import_tasks: nginx-config.yml | ||
ansible.builtin.import_tasks: nginx-config.yml | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
|
||
- name: Nginx | Create config | ||
template: | ||
ansible.builtin.template: | ||
src: nginx-zammad.conf.j2 | ||
dest: "{{ zammad_nginx_config_path }}" | ||
mode: 0644 | ||
owner: root | ||
group: root | ||
notify: reload nginx | ||
notify: Reload nginx | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters