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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.package
Commits
1f71126d
Commit
1f71126d
authored
2 years ago
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pin and allow api.github.com, need by theia
parent
827da1e3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
playbook/slapos-standalone.yml
playbook/slapos-standalone.yml
+15
-0
No files found.
playbook/slapos-standalone.yml
View file @
1f71126d
...
@@ -161,6 +161,12 @@
...
@@ -161,6 +161,12 @@
line
:
"
140.82.121.3
github.com"
line
:
"
140.82.121.3
github.com"
dest
:
/etc/hosts
dest
:
/etc/hosts
# Allow to access api.github.com, needed by theia
-
name
:
Change the github.com in the hosts
lineinfile
:
line
:
"
140.82.121.3
api.github.com"
dest
:
/etc/hosts
# Allow to access gitlab.com, required by gitlab SR
# Allow to access gitlab.com, required by gitlab SR
# - name: Pin the gitlab.com in the hosts
# - name: Pin the gitlab.com in the hosts
# lineinfile:
# lineinfile:
...
@@ -176,6 +182,15 @@
...
@@ -176,6 +182,15 @@
# destination: gitlab.com
# destination: gitlab.com
# jump: ACCEPT
# jump: ACCEPT
-
name
:
Allow to access api.github.com
iptables
:
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
443
destination
:
api.github.com
jump
:
ACCEPT
-
name
:
Allow to access github.com
-
name
:
Allow to access github.com
iptables
:
iptables
:
action
:
append
action
:
append
...
...
This diff is collapsed.
Click to expand it.
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