Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
MyCard
init
Commits
ad9da48e
Commit
ad9da48e
authored
Aug 04, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup ssh
parent
b7955250
Pipeline
#464
failed with stage
in 1 minute and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
.gitlab-ci.yml
.gitlab-ci.yml
+4
-10
No files found.
.gitlab-ci.yml
View file @
ad9da48e
...
...
@@ -5,7 +5,10 @@ variables:
GIT_DEPTH
:
"
1"
before_script
:
-
apt update && apt -y install python3-pip tar wget
-
apt update && apt -y install python3-pip tar wget openssh-client openssh-server
-
ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa <<<y 2>&1 >/dev/null
-
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
-
systemctl start openssh-server
-
pip3 install -U pip
-
pip install -U ansible
-
ansible --version
...
...
@@ -21,12 +24,3 @@ test_in_vm:
script
:
-
ansible-playbook tests/test.yml --syntax-check
-
ansible-playbook tests/test.yml
test_in_container
:
stage
:
test
tags
:
-
linux
image
:
debian:buster-slim
script
:
-
ansible-playbook tests/test.yml --syntax-check
-
ansible-playbook tests/test.yml
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