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
c40b43de
Unverified
Commit
c40b43de
authored
3 years ago
by
Cristian Calin
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[mitogent] update to 0.3.2 (#8470)
parent
b0eb5650
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/mitogen/mitogen.yml
+10
-5
10 additions, 5 deletions
contrib/mitogen/mitogen.yml
docs/mitogen.md
+2
-2
2 additions, 2 deletions
docs/mitogen.md
with
12 additions
and
7 deletions
mitogen.yml
→
contrib/mitogen/
mitogen.yml
+
10
−
5
View file @
c40b43de
...
...
@@ -5,8 +5,8 @@
-
hosts
:
localhost
strategy
:
linear
vars
:
mitogen_version
:
0.3.
0rc1
mitogen_url
:
https://github.com/
dw
/mitogen/archive/v{{ mitogen_version }}.tar.gz
mitogen_version
:
0.3.
2
mitogen_url
:
https://github.com/
mitogen-hq
/mitogen/archive/
refs/tags/
v{{ mitogen_version }}.tar.gz
ansible_connection
:
local
tasks
:
-
name
:
Create mitogen plugin dir
...
...
@@ -38,7 +38,12 @@
-
name
:
add strategy to ansible.cfg
ini_file
:
path
:
ansible.cfg
section
:
defaults
option
:
strategy
value
:
mitogen_linear
mode
:
0644
section
:
"
{{
item.section
|
d('defaults')
}}"
option
:
"
{{
item.section
}}"
value
:
"
{{
item.value
}}"
with_items
:
-
option
:
strategy
value
:
mitogen_linear
-
option
:
strategy_plugins
value
:
plugins/mitogen/ansible_mitogen/plugins/strategy
This diff is collapsed.
Click to expand it.
docs/mitogen.md
+
2
−
2
View file @
c40b43de
...
...
@@ -7,10 +7,10 @@
## Install
```
ShellSession
ansible-playbook mitogen.yml
ansible-playbook
contrib/mitogen/
mitogen.yml
```
Ensure to enable mitogen use by
environment varialbles:
The above playbook sets the ansible
`strategy`
and
`strategy_plugins`
in
`ansible.cfg`
but you can also enable them if you use your own
`ansible.cfg`
by setting the
environment varialbles:
```
ShellSession
export ANSIBLE_STRATEGY=mitogen_linear
...
...
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