provisioners/ansible_local: align code style
Remove parenthesis to all "machine.communicate." method calls in the "cap/guest" files...
This commit is contained in:
parent
bb9dba56ac
commit
d57b7201c4
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue