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
This commit is contained in:
jkilpatr 2016-06-29 14:52:46 -04:00
parent f1fdaf45f8
commit acc94581cd

View File

@ -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