Ansible syntax fix and added message decrypt.

* Decrypt message which is base64 encoded in secrets
* read change_url from zuul dictionary instead of its
  subelement items

Change-Id: I2137be52d4ad8c0a158b6192b6e0a08527c60328
Relates-To: #196
This commit is contained in:
Yasin, Siraj (SY495P) 2020-05-12 12:08:33 -05:00
parent 60ece21b96
commit b248f6e4a4

View File

@ -21,7 +21,7 @@
script: >
zuul.d/scripts/update_github_issues.py "{{ github_credentials.username }}" \
"{{ github_credentials.password }}" \
"{{ zuul.message }}" \
"{{ zuul.items[0].change_url }}"
"{{ zuul.message | b64decode }}" \
"{{ zuul.change_url }}"
args:
executable: python3