X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tutorials%2FvFWDT%2Fplaybooks%2Fvfw-sink%2Flatest%2Fansible%2Fdistributetrafficcheck%2Fsite.yml;h=d7b5f44237f76a414c406e37e8a62fcd755b2395;hb=6610dc1180d0dfbe30a737306d0f059b463aeb26;hp=04c80ea182342bc59bd44e910c76eda082baa633;hpb=8c634d536d17f0a8414b0a2bc7b2f924ea565222;p=demo.git diff --git a/tutorials/vFWDT/playbooks/vfw-sink/latest/ansible/distributetrafficcheck/site.yml b/tutorials/vFWDT/playbooks/vfw-sink/latest/ansible/distributetrafficcheck/site.yml index 04c80ea1..d7b5f442 100644 --- a/tutorials/vFWDT/playbooks/vfw-sink/latest/ansible/distributetrafficcheck/site.yml +++ b/tutorials/vFWDT/playbooks/vfw-sink/latest/ansible/distributetrafficcheck/site.yml @@ -1,5 +1,5 @@ --- -- hosts: vfw-sink +- hosts: vFWDT gather_facts: no remote_user: ubuntu vars: @@ -22,7 +22,7 @@ register: fw_ppnet_iface - name: Traffic check if trafficpresence is TRUE - when: trafficpresence == true + when: trafficpresence == true block: - name: Traffic check if trafficpresence is TRUE raw: | @@ -59,7 +59,7 @@ when: traffic_check.rc == 0 - name: Traffic check if trafficpresence is FALSE - when: trafficpresence == false + when: trafficpresence == false block: - name: Traffic check trafficpresence is FALSE raw: | @@ -92,4 +92,3 @@ msg: 'traffic present {{ traffic_check.stdout_lines }} ' when: traffic_check.rc == 1 failed_when: traffic_check.rc == 1 -