Merge everything back into one task, otherwise the msg variable gets lost

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-08-16 17:30:06 +02:00
parent e90e9b0913
commit 608a871e96
3 changed files with 10 additions and 22 deletions

View file

@ -1,11 +1,4 @@
---
- name: display the message
hosts: localhost
gather_facts: false
tasks:
- debug: var=msg
- name: buildsys.build.state.change
hosts: localhost
gather_facts: false
@ -13,6 +6,9 @@
vars_files:
- "/srv/private/vars_loopabull.yml"
tasks:
- debug: var=msg
roles:
- {role: flag_ci_pr, msg: msg}

View file

@ -1,17 +1,13 @@
---
- name: display the message
hosts: localhost
gather_facts: false
tasks:
- debug: var=msg
- name: buildsys.build.state.change
hosts: localhost
gather_facts: false
vars_files:
- "/srv/private/vars_loopabull.yml"
- "/srv/private/vars_loopabull.yml"
tasks:
- debug: var=msg
roles:
- {role: flag_build_commits, msg: msg}

View file

@ -1,11 +1,4 @@
---
- name: display the message
hosts: localhost
gather_facts: false
tasks:
- debug: var=msg
- name: buildsys.build.state.change
hosts: localhost
gather_facts: false
@ -13,6 +6,9 @@
vars_files:
- "/srv/private/vars_loopabull.yml"
tasks:
- debug: var=msg
roles:
- {role: debug, msg: msg}
- {role: flag_build_commits, msg: msg}