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
479d0e85
Unverified
Commit
479d0e85
authored
Oct 31, 2018
by
Antoine Legrand
Committed by
GitHub
Oct 31, 2018
Browse files
Options
Downloads
Patches
Plain Diff
Add playbook to install mitogen (#3622)
parent
152c15b1
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+5
-0
5 additions, 0 deletions
Makefile
ansible.cfg
+2
-0
2 additions, 0 deletions
ansible.cfg
mitogen.yaml
+30
-0
30 additions, 0 deletions
mitogen.yaml
with
37 additions
and
0 deletions
Makefile
0 → 100644
+
5
−
0
View file @
479d0e85
mitogen
:
ansible-playbook
-c
local
mitogen.yaml
-vv
clean
:
rm
-rf
dist/
rm
*
.retry
This diff is collapsed.
Click to expand it.
ansible.cfg
+
2
−
0
View file @
479d0e85
...
@@ -3,6 +3,8 @@ pipelining=True
...
@@ -3,6 +3,8 @@ pipelining=True
ssh_args
=
-o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null
ssh_args
=
-o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null
#control_path = ~/.ssh/ansible-%%r@%%h:%%p
#control_path = ~/.ssh/ansible-%%r@%%h:%%p
[defaults]
[defaults]
strategy_plugins
=
plugins/mitogen/ansible_mitogen/plugins/strategy
host_key_checking
=
False
host_key_checking
=
False
gathering
=
smart
gathering
=
smart
fact_caching
=
jsonfile
fact_caching
=
jsonfile
...
...
This diff is collapsed.
Click to expand it.
mitogen.yaml
0 → 100644
+
30
−
0
View file @
479d0e85
-
hosts
:
localhost
strategy
:
linear
vars
:
mitogen_version
:
master
mitogen_url
:
https://github.com/dw/mitogen/archive/{{mitogen_version}}.zip
tasks
:
-
name
:
Create mitogen plugin dir
file
:
path
:
"
{{item}}"
state
:
directory
become
:
false
loop
:
-
"
{{playbook_dir}}/plugins/mitogen"
-
"
{{playbook_dir}}/dist"
-
name
:
download mitogen release
get_url
:
url
:
"
{{mitogen_url}}"
dest
:
"
{{playbook_dir}}/dist/mitogen_{{mitogen_version}}.zip"
validate_certs
:
true
-
name
:
extract zip
unarchive
:
src
:
"
{{playbook_dir}}/dist/mitogen_{{mitogen_version}}.zip"
dest
:
"
{{playbook_dir}}/dist/"
-
name
:
copy plugin
synchronize
:
src
:
"
{{playbook_dir}}/dist/mitogen-{{mitogen_version}}/"
dest
:
"
{{playbook_dir}}/plugins/mitogen"
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