freshmaker: show app config on stage for temp troubleshooting
Seems the parsers on stage are not enabled successfully, show app config file content for troubleshooting, remove this later. And a minor var change to restart fedmsg-hub.
This commit is contained in:
parent
f8017a26cf
commit
a1175e60a7
2 changed files with 12 additions and 1 deletions
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
# For app config
|
# For app config
|
||||||
freshmaker_messaging_topic_prefix:
|
freshmaker_messaging_topic_prefix:
|
||||||
- org.fedoraproject.stg
|
|
||||||
- org.fedoraproject.prod
|
- org.fedoraproject.prod
|
||||||
|
- org.fedoraproject.stg
|
||||||
|
|
||||||
freshmaker_parsers:
|
freshmaker_parsers:
|
||||||
- freshmaker.parsers.git:GitReceiveParser
|
- freshmaker.parsers.git:GitReceiveParser
|
||||||
|
|
|
@ -89,3 +89,14 @@
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
|
- name: show freshmaker app config on stage (for temp troubleshoot)
|
||||||
|
hosts: freshmaker-stg
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Slurp hosts file
|
||||||
|
slurp:
|
||||||
|
src: /etc/freshmaker/config.py
|
||||||
|
register: slurpfile
|
||||||
|
|
||||||
|
- debug: msg="{{ slurpfile['content'] | b64decode }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue