From 152c15b19fe7f1bda14d089453a99a09aa4916e6 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Wed, 31 Oct 2018 13:19:17 +0300 Subject: [PATCH] Disable gather facts when checking ansible version (#3615) --- cluster.yml | 1 + upgrade-cluster.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/cluster.yml b/cluster.yml index 649f6549f..45dcefb31 100644 --- a/cluster.yml +++ b/cluster.yml @@ -1,5 +1,6 @@ --- - hosts: localhost + gather_facts: false tasks: - name: "Check ansible version !=2.7.0" assert: diff --git a/upgrade-cluster.yml b/upgrade-cluster.yml index 27d427023..76d1a28e7 100644 --- a/upgrade-cluster.yml +++ b/upgrade-cluster.yml @@ -1,5 +1,6 @@ --- - hosts: localhost + gather_facts: false tasks: - name: "Check ansible version !=2.7.0" assert: