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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
214e08f8
Unverified
Commit
214e08f8
authored
4 years ago
by
Maxime Guyot
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix ansible-lint E305 (#6459)
parent
8bd3b50e
No related branches found
No related tags found
No related merge requests found
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/testcases/040_check-network-adv.yml
+4
-4
4 additions, 4 deletions
tests/testcases/040_check-network-adv.yml
tests/testcases/roles/cluster-dump/tasks/main.yml
+2
-2
2 additions, 2 deletions
tests/testcases/roles/cluster-dump/tasks/main.yml
with
6 additions
and
6 deletions
tests/testcases/040_check-network-adv.yml
+
4
−
4
View file @
214e08f8
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
netchecker_port
:
31081
netchecker_port
:
31081
tasks
:
tasks
:
-
name
:
Flannel | Disable tx and rx offloading on VXLAN interfaces (see https://github.com/coreos/flannel/pull/1282)
# noqa 305
-
name
:
Flannel | Disable tx and rx offloading on VXLAN interfaces (see https://github.com/coreos/flannel/pull/1282)
shell
:
"
ethtool
--offload
flannel.1
rx
off
tx
off"
command
:
"
ethtool
--offload
flannel.1
rx
off
tx
off"
ignore_errors
:
true
ignore_errors
:
true
when
:
when
:
-
kube_network_plugin|default('calico') == 'flannel'
-
kube_network_plugin|default('calico') == 'flannel'
...
@@ -214,8 +214,8 @@
...
@@ -214,8 +214,8 @@
-
inventory_hostname == groups['kube-master'][0]
-
inventory_hostname == groups['kube-master'][0]
-
kube_network_plugin_multus|default(false)|bool
-
kube_network_plugin_multus|default(false)|bool
-
name
:
Check secondary macvlan interface
# noqa 305
-
name
:
Check secondary macvlan interface
shell
:
"
{{
bin_dir
}}/kubectl
exec
samplepod
--
ip
addr
show
dev
net1"
command
:
"
{{
bin_dir
}}/kubectl
exec
samplepod
--
ip
addr
show
dev
net1"
register
:
output
register
:
output
until
:
output.rc ==
0
until
:
output.rc ==
0
retries
:
90
retries
:
90
...
...
This diff is collapsed.
Click to expand it.
tests/testcases/roles/cluster-dump/tasks/main.yml
+
2
−
2
View file @
214e08f8
---
---
-
name
:
Generate dump folder
# noqa 305
-
name
:
Generate dump folder
shell
:
"
{{
bin_dir
}}/kubectl
cluster-info
dump
--all-namespaces
--output-directory
/tmp/cluster-dump"
command
:
"
{{
bin_dir
}}/kubectl
cluster-info
dump
--all-namespaces
--output-directory
/tmp/cluster-dump"
no_log
:
true
no_log
:
true
when
:
inventory_hostname in groups['kube-master']
when
:
inventory_hostname in groups['kube-master']
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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