Skip to content

Commit

Permalink
Fix for missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
matisku committed Feb 24, 2017
1 parent 89159d1 commit 9c50cd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ teamcity_server_install_dir: /opt
teamcity_server_dir: "{{ teamcity_server_install_dir }}/TeamCity"
teamcity_server_data_dir: "{{ teamcity_server_dir }}/BuildServer"
teamcity_server_plugins_dir: "{{ teamcity_server_data_dir }}/plugins"
teamcity_server_config_dir: "{{ teamcity_server_data_dir }}/config"

# TeamCity Plugins
teamcity_server_plugins: []
Expand Down
4 changes: 2 additions & 2 deletions tasks/teamcity-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
mode: 0755
with_items:
- "{{ teamcity_server_dir }}/logs"
- "{{ teamcity_server_data_dir }}/config"
- "{{ teamcity_server_config_dir }}"

- name: "Add database config"
template:
src: "database.{{ teamcity_server_db_type }}.properties.j2"
dest: "{{ teamcity_server_data_dir }}/config/database.properties"
dest: "{{ teamcity_server_config_dir }}/database.properties"
owner: "{{ teamcity_server_user }}"
group: "{{ teamcity_server_group }}"
mode: 0644
Expand Down

0 comments on commit 9c50cd7

Please sign in to comment.