Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
piops-roles
install_nextcloud
Commits
7a1b1094
Commit
7a1b1094
authored
Jun 23, 2017
by
Aalaesar
Browse files
Merge branch 'Travis-integration'
parent
a3445382
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
7a1b1094
...
...
@@ -4,27 +4,23 @@ python: "2.7"
os
:
linux
dist
:
trusty
env
:
-
ansible_version="2.1.
4
.0"
-
ansible_version="2.2.
2
.0"
-
ansible_version="2.3.
0
.0"
-
ansible_version="2.1.
6
.0"
-
ansible_version="2.2.
3
.0"
-
ansible_version="2.3.
1
.0"
sudo
:
required
# Install ansible
addons
:
apt
:
packages
:
-
python-pip
before_install
:
-
sudo apt-get install python-setuptools
-
sudo easy_install pip
# Install ansible
-
pip install -I "ansible==$ansible_version"
-
sudo
pip install -I "ansible==$ansible_version"
install
:
# Check ansible version
-
ansible --version
# Create ansible.cfg with correct roles_path
-
printf '[defaults]\nroles_path=../' >ansible.cfg
...
...
tasks/http_apache.yml
View file @
7a1b1094
...
...
@@ -29,6 +29,7 @@
repo
:
"
deb
http://fr.archive.ubuntu.com/ubuntu/
trusty-backports
main
restricted
universe
multiverse"
state
:
present
update_cache
:
yes
ignore_errors
:
yes
# fix for travis ci
-
name
:
"
[APACHE]
-
Install
APCu
from
backports."
apt
:
"
name={{
php_pkg_apcu
}}
state=latest
default_release=trusty-backports"
when
:
ansible_distribution_release == "trusty"
...
...
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