provisioners/ansible_local: align code style

Remove parenthesis to all "machine.communicate." method calls in the
"cap/guest" files...
This commit is contained in:
Gilles Cornu 2016-06-08 23:31:03 +02:00
parent bb9dba56ac
commit d57b7201c4
4 changed files with 7 additions and 7 deletions

View File

@ -11,8 +11,8 @@ module VagrantPlugins
if install_mode == :pip
raise Ansible::Errors::AnsiblePipInstallIsNotSupported
else
machine.communicate.sudo("pacman -Syy --noconfirm")
machine.communicate.sudo("pacman -S --noconfirm ansible")
machine.communicate.sudo "pacman -Syy --noconfirm"
machine.communicate.sudo "pacman -S --noconfirm ansible"
end
end

View File

@ -31,9 +31,9 @@ if [ x$CODENAME == 'xwheezy' ]; then
fi
INLINE_CRIPT
machine.communicate.sudo(install_backports_if_wheezy_release)
machine.communicate.sudo("apt-get update -y -qq")
machine.communicate.sudo("apt-get install -y -qq ansible")
machine.communicate.sudo install_backports_if_wheezy_release
machine.communicate.sudo "apt-get update -y -qq"
machine.communicate.sudo "apt-get install -y -qq ansible"
end
def self.pip_setup(machine)

View File

@ -11,7 +11,7 @@ module VagrantPlugins
if install_mode == :pip
raise Ansible::Errors::AnsiblePipInstallIsNotSupported
else
machine.communicate.sudo("yes | pkg install ansible")
machine.communicate.sudo "yes | pkg install ansible"
end
end

View File

@ -14,7 +14,7 @@ module VagrantPlugins
command << "&& ansible --version | grep 'ansible #{version}'"
end
machine.communicate.test(command, sudo: false)
machine.communicate.test command, sudo: false
end
end