Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Commit

Permalink
#14 tweak to write to local_configs dir
Browse files Browse the repository at this point in the history
  • Loading branch information
donsizemore committed Feb 29, 2016
1 parent 8601fbd commit 6f82e26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ansible/local-service-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
config_template: "roles/util-cfg-service/templates/{{ svce }}.properties.j2"
config_name: "{{ svce }}.properties"
tasks:
- debug: msg="writing {{ config_template }} to {{ local_config_dest }}/{{ config_name }}"
- debug: msg="writing {{ config_template }} to {{ local_cfg_dest }}/{{ config_name }}"
- name: write local service configs
local_action: template src="{{config_template}}" dest="{{local_config_dest}}/{{config_name}}" mode=0644
local_action: template src="{{config_template}}" dest="{{local_cfg_dest}}/iplant/de/{{config_name}}" mode=0644
3 changes: 2 additions & 1 deletion ansible/roles/util-cfg-service/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ service_conf_dir: "{{de_config_dir}}"
service_cfg_file_name: "{{service_name_short}}.properties"
group_name: "{{service_name_short}}"
src: "{{service_name_short}}.properties.j2"
dest: "{{service_conf_dir}}/{{service_cfg_file_name}}"
#dest: "{{service_conf_dir}}/{{service_cfg_file_name}}"
dest: "{{local_cfg_dest}}/iplant/de/{{service_cfg_file_name}}"
group: root
owner: root
mode: 0644

0 comments on commit 6f82e26

Please sign in to comment.