You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by ly...@apache.org on 2016/10/11 14:31:11 UTC

incubator-metron git commit: METRON-492 Run metron_common build check as local_action (kylerichardson via dlyle65535) closes apache/incubator-metron#302

Repository: incubator-metron
Updated Branches:
  refs/heads/master 2aec26b7a -> 0e9316904


METRON-492 Run metron_common build check as local_action (kylerichardson via dlyle65535) closes apache/incubator-metron#302


Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/0e931690
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/0e931690
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/0e931690

Branch: refs/heads/master
Commit: 0e9316904b51b9e64ef1d128fe9cc788f6762295
Parents: 2aec26b
Author: kylerichardson <ky...@gmail.com>
Authored: Tue Oct 11 10:30:53 2016 -0400
Committer: David Lyle <dl...@gmail.com>
Committed: Tue Oct 11 10:30:53 2016 -0400

----------------------------------------------------------------------
 metron-deployment/roles/metron_common/tasks/main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/0e931690/metron-deployment/roles/metron_common/tasks/main.yml
----------------------------------------------------------------------
diff --git a/metron-deployment/roles/metron_common/tasks/main.yml b/metron-deployment/roles/metron_common/tasks/main.yml
index 64e6ab9..3927776 100644
--- a/metron-deployment/roles/metron_common/tasks/main.yml
+++ b/metron-deployment/roles/metron_common/tasks/main.yml
@@ -20,12 +20,12 @@
   when: (ansible_distribution != "CentOS" or ansible_distribution_major_version != "6")
 
 - name: Check for Metron jar path
-  stat: path={{ metron_jar_path }}
+  local_action: stat path={{ metron_jar_path }}
   register: metron_jars
 
 - name: Verify Metron jars exist
   fail: msg="Unable to locate staged Metron jars at {{ metron_jar_path }}.  Did you run 'mvn package'?"
-  when: metron_jars.stat.exists == True
+  when: not metron_jars.stat.exists
 
 - name: Ensure iptables is stopped and is not running at boot time.
   ignore_errors: yes