Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Jérémy KRAEMER
test2
Commits
859875d5
Commit
859875d5
authored
Sep 11, 2017
by
Jérémy KRAEMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
f8d482d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
.gitlab-ci.yml
.gitlab-ci.yml
+6
-4
No files found.
.gitlab-ci.yml
View file @
859875d5
image
:
debian:
8
image
:
williamyeh/ansible:debian
8
before_script
:
...
...
@@ -10,7 +10,7 @@ before_script:
-
eval $(ssh-agent -s)
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
-
ssh-add <(echo "$SSH_PRIVATE_KEY")
#
- ssh-add <(echo "$SSH_PRIVATE_KEY")
# For Docker builds disable host key checking. Be aware that by adding that
# you are suspectible to man-in-the-middle attacks.
...
...
@@ -25,7 +25,9 @@ before_script:
# - '[[ -f /.dockerenv ]] && echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts'
test
:
script
:
echo "Hello world"
script
:
-
ansible -m setup all -i localhost, --connection=local
test2
:
script
:
ssh root@10.255.20.212 exit
\ No newline at end of file
script
:
-
ansible -m ping all -i 10.255.20.212, -u root
\ No newline at end of file
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