From acc94581cdd588af1cb6dafa116de78c203e8108 Mon Sep 17 00:00:00 2001 From: jkilpatr Date: Wed, 29 Jun 2016 14:52:46 -0400 Subject: [PATCH] Fix sudo requirement for localhost All roles in this playbook previously had become: true, which requires sudo permissions the localhost task, running the metadata.py file do not require root. When being run from the undercloud this is not major issue as the undercloud and locahost are the same and passwordless ssh exists on both. But when running Ansible/Browbeat remotely this will require root permissions unnessicarily. Change-Id: I71e97348dcce25ebb9ec2aa9a00fce516315177c --- ansible/gather/site.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/ansible/gather/site.yml b/ansible/gather/site.yml index 41baf9f5c..f9ab01c7f 100644 --- a/ansible/gather/site.yml +++ b/ansible/gather/site.yml @@ -25,7 +25,6 @@ - hosts: localhost - become: true tasks: - name: Dump all vars local_action: template src=dump_facts.j2 dest={{ browbeat_path }}/metadata/machine_facts.json