diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2015-07-30 12:00:18 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2015-07-30 12:35:27 -0400 |
commit | 29bc8f51d7137b29d55d0b0fe6ae783ad6641f97 (patch) | |
tree | 6590adf6b0180c4d5569a0a163adab9a1d39db98 | |
parent | e2e0dc271903d48005b0ebdf1f5468fb25470593 (diff) | |
download | ansible-29bc8f51d7137b29d55d0b0fe6ae783ad6641f97.tar.gz |
made tags display closer to v1
-rw-r--r-- | lib/ansible/cli/playbook.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/cli/playbook.py b/lib/ansible/cli/playbook.py index 9a2a9a0ad7..627e41057c 100644 --- a/lib/ansible/cli/playbook.py +++ b/lib/ansible/cli/playbook.py @@ -162,7 +162,7 @@ class PlaybookCLI(CLI): mytags = set() if self.options.listtags and play.tags: mytags = mytags.union(set(play.tags)) - msg += '\n tags: [%s]' % (','.join(mytags)) + msg += ' TAGS: [%s]' % (','.join(mytags)) if self.options.listhosts: playhosts = set(inventory.get_hosts(play.hosts)) @@ -183,7 +183,7 @@ class PlaybookCLI(CLI): for task in block.block: taskmsg += "\n %s" % task if self.options.listtags and task.tags: - taskmsg += "\n tags: [%s]" % ','.join(mytags.union(set(task.tags))) + taskmsg += " TAGS: [%s]" % ','.join(mytags.union(set(task.tags))) j = j + 1 self.display.display(taskmsg) |