Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
0d8de289
Commit
0d8de289
authored
7 years ago
by
Maxim Krasilnikov
Committed by
Matthew Mosesohn
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Change deprecated vagrant ansible flag 'sudo' to 'become'" (#1960)
parent
00916dec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Vagrantfile
+2
-2
2 additions, 2 deletions
Vagrantfile
with
2 additions
and
2 deletions
Vagrantfile
+
2
−
2
View file @
0d8de289
...
...
@@ -122,7 +122,7 @@ Vagrant.configure("2") do |config|
}
config
.
vm
.
network
:private_network
,
ip:
ip
# workaround for Vagrant 1.9.1 and centos vm
# https://github.com/hashicorp/vagrant/issues/8096
if
Vagrant
::
VERSION
==
"1.9.1"
&&
$os
==
"centos"
...
...
@@ -140,7 +140,7 @@ Vagrant.configure("2") do |config|
if
File
.
exist?
(
File
.
join
(
File
.
dirname
(
$inventory
),
"hosts"
))
ansible
.
inventory_path
=
$inventory
end
ansible
.
become
=
true
ansible
.
sudo
=
true
ansible
.
limit
=
"all"
ansible
.
host_key_checking
=
false
ansible
.
raw_arguments
=
[
"--forks=
#{
$num_instances
}
"
,
"--flush-cache"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment