~linaro-automation/linaro-android-build-tools/trunk

« back to all changes in this revision

Viewing changes to ansible-deploy/jenkins.yml

  • Committer: Paul Sokolovsky
  • Date: 2013-11-26 01:55:03 UTC
  • Revision ID: paul.sokolovsky@linaro.org-20131126015503-cs7f8tmoupyitivf
Include ../ansible-private-vars/main.yml only if exists.

But check and fail fast if we need Crowd credentials and they're not set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    # "native" or "crowd"
11
11
    - jenkins_auth: crowd
12
12
  vars_files:
13
 
    - ../ansible-private-vars/main.yml
 
13
    # Include private settings only if they exist - not all modes need
 
14
    # them (e.g. jenkins_auth: native).
 
15
    # Following construct works as: find first file which exists and use it.
 
16
    - ["../ansible-private-vars/main.yml", "vars/empty.yml"]
14
17
  roles:
15
18
    - common
16
19
    - apache