Skip to content

Commit

Permalink
replace localhost with hostvar
Browse files Browse the repository at this point in the history
  • Loading branch information
Natkeeran committed Jul 19, 2019
1 parent 5f2c72a commit c747553
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions inventory/vagrant/group_vars/crayfish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
crayfish_version_tag: dev
crayfish_db: "{{ claw_db }}"

crayfish_fedora_base_url: http://localhost:8080/fcrepo/rest
crayfish_drupal_base_url: http://localhost:80
crayfish_gemini_base_url: http://localhost:80/gemini
crayfish_fedora_base_url: "http://{{ hostvars[groups['tomcat'][0]].ansible_ssh_host }}:8080/fcrepo/rest"
crayfish_drupal_base_url: "http://{{ hostvars[groups['webserver'][0]].ansible_ssh_host }}:80"
crayfish_gemini_base_url: "http://{{ hostvars[groups['crayfish'][0]].ansible_ssh_host }}:80/gemini"
10 changes: 5 additions & 5 deletions inventory/vagrant/group_vars/karaf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
alpaca_clone_directory: /opt/alpaca

triplestore_namespace: islandora
alpaca_triplestore_base_url: http://localhost:8080/bigdata
alpaca_milliner_base_url: http://localhost:80/milliner
alpaca_gemini_base_url: http://localhost:80/gemini
alpaca_houdini_base_url: http://localhost:80/houdini
alpaca_homarus_base_url: http://localhost:80/homarus
alpaca_triplestore_base_url: "http://{{ hostvars[groups['tomcat'][0]].ansible_ssh_host }}:8080/bigdata"
alpaca_milliner_base_url: "http://{{ hostvars[groups['crayfish'][0]].ansible_ssh_host }}:80/milliner"
alpaca_gemini_base_url: "http://{{ hostvars[groups['crayfish'][0]].ansible_ssh_host }}:80/gemini"
alpaca_houdini_base_url: "http://{{ hostvars[groups['crayfish'][0]].ansible_ssh_host }}:80/houdini"
alpaca_homarus_base_url: "http://{{ hostvars[groups['crayfish'][0]].ansible_ssh_host }}:80/homarus"
2 changes: 1 addition & 1 deletion inventory/vagrant/group_vars/tomcat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ cantaloupe_cache_source: FilesystemCache
cantaloupe_cache_derivative: FilesystemCache
cantaloupe_create_FilesystemCache_dir: yes
cantaloupe_resolver_static: HttpResolver
cantaloupe_HttpResolver_BasicLookupStrategy_url_prefix: http://localhost:8000/
cantaloupe_HttpResolver_BasicLookupStrategy_url_prefix: "http://{{ hostvars[groups['webserver'][0]].ansible_ssh_host }}:8000/"
2 changes: 1 addition & 1 deletion inventory/vagrant/group_vars/webserver/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

webserver_app: yes
openseadragon_iiiv_set_var: yes
openseadragon_iiiv_server: http://localhost:8080/cantaloupe/iiif/2
openseadragon_iiiv_server: "http://{{ hostvars[groups['tomcat'][0]].ansible_ssh_host }}:8080/cantaloupe/iiif/2"

0 comments on commit c747553

Please sign in to comment.