Commit 133984e5 authored by Stephen Seltzer's avatar Stephen Seltzer

Updates directory_service role to use ansible facts file.

parent fa437cfc
......@@ -2,7 +2,5 @@
# file: roles/directory_service/meta/main.yml
dependencies:
- { role: base }
- { role: properties_service }
- { role: cactus_service }
- { role: elasticsearch }
---
# file: roles/properties_service/tasks/main.yml
# file: roles/directory_service/tasks/main.yml
- name: download directory service from nexus
maven_artifact: group_id="edu.psu.ses.javaee.libraries.directory" artifact_id="directory-service-web" version={{ dir_srv_version }} extension="war" repository_url=https://ci.psu.edu/nexus/content/groups/public/ dest=/tmp/directory-service-web.war
......@@ -10,14 +10,14 @@
- directory_deploy.cli
- name: copy ldap properties file to the correct location
copy: src=ldap.properties dest={{ wildfly_conf_directory }}/properties-service/ldap.properties
owner={{ wildfly_user }} group={{ wildfly_group }} mode=0644
copy: src=ldap.properties dest={{ ansible_local.build_vars.wildfly.wildfly_conf_directory }}/properties-service/ldap.properties
owner={{ ansible_local.build_vars.wildfly.wildfly_user }} group={{ ansible_local.build_vars.wildfly.wildfly_group }} mode=0644
- name: copy directory service properties file to the correct location
copy: src=directory-service.properties dest={{ wildfly_conf_directory }}/properties-service/directory-service.properties
owner={{ wildfly_user }} group={{ wildfly_group }} mode=0644
copy: src=directory-service.properties dest={{ ansible_local.build_vars.wildfly.wildfly_conf_directory }}/properties-service/directory-service.properties
owner={{ ansible_local.build_vars.wildfly.wildfly_user }} group={{ ansible_local.build_vars.wildfly.wildfly_group }} mode=0644
- name: install the service
shell: chdir=/tmp {{ wildfly_prog_directory }}/jboss-cli.sh --file="{{ item }}"
shell: chdir=/tmp {{ ansible_local.build_vars.wildfly.wildfly_prog_directory }}/jboss-cli.sh --file="{{ item }}"
with_items:
- directory_deploy.cli
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment