Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
13
Merge Requests
13
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
2fa89eca
Commit
2fa89eca
authored
Mar 25, 2019
by
Thomas Gambier
🚴🏼
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install pip if pip is not present
parent
e0bf4bcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
playbook/roles/slapcache/tasks/main.yml
playbook/roles/slapcache/tasks/main.yml
+13
-1
No files found.
playbook/roles/slapcache/tasks/main.yml
View file @
2fa89eca
# easy_install module for ansible version on debian 8 cannot upgrade package
# first install pip with easy_install if pip is not present on the system
# we cannot use the python-pip package as it is too old in many OS
-
name
:
Register pip installation status
command
:
which pip
changed_when
:
false
failed_when
:
false
register
:
pip_installed
-
name
:
Make sure pip is installed
shell
:
easy_install pip
when
:
pip_installed|failed
# install module with pip so that on debian 8 we can download the playbook in shacache
-
name
:
Install/Upgrade latest slapos.libnetworkcache
-
name
:
Install/Upgrade latest slapos.libnetworkcache
shell
:
pip install --upgrade slapos.libnetworkcache
shell
:
pip install --upgrade slapos.libnetworkcache
...
...
Thomas Gambier
🚴🏼
@tomo
mentioned in commit
d13e2084
·
Apr 25, 2019
mentioned in commit
d13e2084
mentioned in commit d13e208495faa430496eb716fa3b0a4617d0dea0
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment