diff options
| author | Adam Williamson <awilliam@redhat.com> | 2015-12-05 13:14:16 -0800 |
|---|---|---|
| committer | Adam Williamson <awilliam@redhat.com> | 2015-12-05 13:14:16 -0800 |
| commit | b24574c8c1c9b986cf6ae1e77a7696acd557348a (patch) | |
| tree | 0c2d203ef14225d807945c04e9aedb17aeb375ff /roles/check-compose | |
| parent | d45c56decb6a17f2a20573605f1d876bf17aef9b (diff) | |
| download | ansible-b24574c8c1c9b986cf6ae1e77a7696acd557348a.tar.gz ansible-b24574c8c1c9b986cf6ae1e77a7696acd557348a.tar.xz ansible-b24574c8c1c9b986cf6ae1e77a7696acd557348a.zip | |
check-compose: set base URL for compose check reports
Diffstat (limited to 'roles/check-compose')
| -rw-r--r-- | roles/check-compose/tasks/main.yml | 7 | ||||
| -rw-r--r-- | roles/check-compose/templates/check-compose.conf.j2 | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/roles/check-compose/tasks/main.yml b/roles/check-compose/tasks/main.yml index b12a56e43..8534a8c19 100644 --- a/roles/check-compose/tasks/main.yml +++ b/roles/check-compose/tasks/main.yml @@ -1,4 +1,11 @@ # Optional vars +# - checkcompose_server +## string - hostname of openQA server to connect to (if not set, openQA +## client configuration will determine this, default will be +## localhost) +# - checkcompose_url +## string - base URL for openQA result links (if not set, will be +## the URL the client actually wound up connecting to) # - checkcompose_wait ## string - (digits) time in minutes to wait for openQA tests to complete ## before sending the report (defaults to 480) diff --git a/roles/check-compose/templates/check-compose.conf.j2 b/roles/check-compose/templates/check-compose.conf.j2 index 9a68c7937..dc4e3f649 100644 --- a/roles/check-compose/templates/check-compose.conf.j2 +++ b/roles/check-compose/templates/check-compose.conf.j2 @@ -1,4 +1,10 @@ [main] +{% if checkcompose_server is defined %} +server: {{ checkcompose_server }} +{% endif %} +{% if checkcompose_url is defined %} +url: {{ checkcompose_url }} +{% endif %} {% if checkcompose_wait is defined %} wait: {{ checkcompose_wait }} {% endif %} |
