Skip to content

Commit

Permalink
Extract the AEM login page URL to the defaults so that it can be cust…
Browse files Browse the repository at this point in the history
…omized
  • Loading branch information
interatom committed Oct 17, 2017
1 parent 8b7e819 commit e35be50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
aem_service_state: started
aem_service_timeout: 1200
aem_service_timeout: 1200
aem_service_login_url: "http://localhost:{{ aem_port }}/libs/granite/core/content/login.html"
2 changes: 1 addition & 1 deletion tasks/start_aem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

- name: "Wait for AEM startup. [{{ inventory_hostname }}]"
uri:
url: "http://localhost:{{ aem_port }}/libs/granite/core/content/login.html"
url: "{{ aem_service_login_url }}"
return_content: yes
register: result
until: result.content.find("QUICKSTART_HOMEPAGE") != -1
Expand Down

0 comments on commit e35be50

Please sign in to comment.