Skip to content

Commit

Permalink
Merge pull request #382 from vjrj/properties-iso8859
Browse files Browse the repository at this point in the history
Set output_encoding to iso-8859-1 for properties configs
  • Loading branch information
djtfmartin authored May 18, 2020
2 parents 3e27f6f + 9985904 commit f8e7d54
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/bie-hub/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- bie

- name: copy all config.properties
template: src=bie-hub-config.properties dest={{ data_dir }}/{{ bie_hub | default('generic-bie') }}/config/{{ bie_hub | default('generic-bie') }}-config.properties force=yes
template: src=bie-hub-config.properties dest={{ data_dir }}/{{ bie_hub | default('generic-bie') }}/config/{{ bie_hub | default('generic-bie') }}-config.properties force=yes output_encoding=iso-8859-1
tags:
- webapps
- properties
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/biocache-hub/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- webapps
- apache_vhost
- deploy
- biocache_hub
- biocache_hub
when: not webserver_nginx

- name: add nginx vhost if configured
Expand Down Expand Up @@ -99,7 +99,7 @@
- facets_config

- name: copy all config.properties
template: src=config/config.properties dest={{data_dir}}/{{biocache_hub}}/config/{{biocache_hub_config}} force=yes
template: src=config/config.properties dest={{data_dir}}/{{biocache_hub}}/config/{{biocache_hub_config}} force=yes output_encoding=iso-8859-1
tags:
- webapps
- properties
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/biocache-properties/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- biocache-properties

- name: copy biocache config properties template
template: src={{item}} dest={{data_dir}}/biocache/config/{{item}} mode=0644
template: src={{item}} dest={{data_dir}}/biocache/config/{{item}} mode=0644 output_encoding=iso-8859-1
with_items:
- biocache-config.properties
tags:
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/collectory/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
- collectory

- name: copy all template configs
template: src={{item}} dest={{ collectory_data_dir }}/config/{{ collectory_app | default('generic-collectory') }}-config.properties
template: src={{item}} dest={{ collectory_data_dir }}/config/{{ collectory_app | default('generic-collectory') }}-config.properties output_encoding=iso-8859-1
with_items:
- config/collectory-config.properties
tags:
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/dashboard/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- properties

- name: copy all config.properties
template: src=dashboard-config.properties dest={{data_dir}}/dashboard/config/dashboard-config.properties
template: src=dashboard-config.properties dest={{data_dir}}/dashboard/config/dashboard-config.properties output_encoding=iso-8859-1
tags:
- dashboard
- properties
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/logger-service/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
- properties

- name: copy all config.properties
template: src=logger-config.properties dest={{data_dir}}/logger/config/logger-config.properties
template: src=logger-config.properties dest={{data_dir}}/logger/config/logger-config.properties output_encoding=iso-8859-1
tags:
- logger-service
- properties
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/regions/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
- regions

- name: copy all config.properties
template: src=regions-config.properties dest={{data_dir}}/{{regions}}/config/{{regions_config}} force=yes
template: src=regions-config.properties dest={{data_dir}}/{{regions}}/config/{{regions_config}} force=yes output_encoding=iso-8859-1
tags:
- properties
- regions
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/species-list/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
- properties

- name: copy all config.properties
template: src=specieslist-webapp-config.properties dest={{data_dir}}/specieslist-webapp/config/specieslist-webapp-config.properties
template: src=specieslist-webapp-config.properties dest={{data_dir}}/specieslist-webapp/config/specieslist-webapp-config.properties output_encoding=iso-8859-1
tags:
- specieslist
- properties
Expand Down

0 comments on commit f8e7d54

Please sign in to comment.