Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Server maintenance on Tue 31.5. at 12:00.
Open sidebar
ansible-role
nginx-server
Commits
4fc7120b
Commit
4fc7120b
authored
Dec 15, 2016
by
Eino Tuominen
Browse files
Merge branch 'develop' into 'master'
should be hash See merge request
!1
parents
6f8b34f9
33d2bc30
Pipeline
#591
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4fc7120b
---
language
:
python
python
:
"
2.7"
# Use the new container infrastructure
sudo
:
false
# Install ansible
addons
:
apt
:
packages
:
-
python-pip
install
:
# Install ansible
before
:
script
:
-
apt install python-pip
-
pip install ansible
# Check ansible version
-
ansible --version
# Create ansible.cfg with correct roles_path
-
printf '[defaults]\nroles_path=../' >ansible.cfg
script
:
# Basic role syntax check
playbook
:
script
:
-
ansible-playbook tests/test.yml -i tests/inventory --syntax-check
notifications
:
webhooks
:
https://galaxy.ansible.com/api/v1/notifications/
\ 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