From ec0c64552980e48fed5b2b6806568a6b36d1213e Mon Sep 17 00:00:00 2001 From: wangwei Date: Wed, 16 Aug 2017 23:34:30 -0400 Subject: [PATCH] Fix the task about --limit does not perform Kolla-ansible supports the deployment with specified tags, "--tags, -t Only run plays and tasks tagged with these values". However, when specifying a tag, if the tag of the task is not "always" or different from the specified tag, it will not be run. This task "Gather facts for all hosts (if using --limit)" is not executed when the --limit parameter is added and deployment with specified tag. Closes-bug: #1711266 Change-Id: If50db2718b765f1d65b5d79eb042b0d95775bafc --- ansible/site.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/site.yml b/ansible/site.yml index 758e1ce645..9447f581d4 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -30,6 +30,7 @@ with_items: "{{ groups['all'] }}" when: - (ansible_play_batch | length) != (groups['all'] | length) + tags: always - name: Detect openstack_release variable hosts: all