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:12:10 UTC
incubator-metron git commit: METRON-492 Run metron_common build check
as local_action closes apache/incubator-metron#302
Repository: incubator-metron
Updated Branches:
refs/heads/master a2a5a3d8a -> 62332345b
METRON-492 Run metron_common build check as local_action 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/62332345
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/62332345
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/62332345
Branch: refs/heads/master
Commit: 62332345be7bc5859be53aacad2ded1c4299ddb8
Parents: a2a5a3d
Author: dlyle65535 <dl...@gmail.com>
Authored: Tue Oct 11 10:11:18 2016 -0400
Committer: David Lyle <dl...@gmail.com>
Committed: Tue Oct 11 10:11:18 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/62332345/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