Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mysql
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ansible
mysql
Commits
7a3506a3
Commit
7a3506a3
authored
8 years ago
by
nimrod
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into feature/jenkinsfile
parents
5c22a3a9
a7142994
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.travis.yml
+29
-3
29 additions, 3 deletions
.travis.yml
molecule.yml
+20
-6
20 additions, 6 deletions
molecule.yml
tasks/main.yml
+1
-1
1 addition, 1 deletion
tasks/main.yml
tests/playbook.yml
+1
-2
1 addition, 2 deletions
tests/playbook.yml
tests/requirements.txt
+3
-3
3 additions, 3 deletions
tests/requirements.txt
with
54 additions
and
15 deletions
.travis.yml
+
29
−
3
View file @
7a3506a3
---
language
:
python
python
:
"
2.7"
python
:
[
"
2.7"
,
"
3.5"
]
dist
:
trusty
sudo
:
fals
e
sudo
:
Tru
e
group
:
beta
services
:
[
docker
]
env
:
-
platform
:
openbsd60
driver
:
vagrant
-
platform
:
openbsd59
driver
:
vagrant
-
platform
:
xenial
driver
:
vagrant
-
platform
:
trusty
driver
:
vagrant
-
platform
:
jessie
driver
:
vagrant
-
platform
:
wheezy
driver
:
vagrant
-
driver
:
docker
platform
:
all
matrix
:
fast_finish
:
True
allow_failures
:
-
python
:
"
3.5"
-
env
:
platform=openbsd59 driver=vagrant
-
env
:
platform=jessie driver=vagrant
-
env
:
platform=wheezy driver=vagrant
cache
:
-
pip
-
directories
:
-
$HOME/.pre-commit
install
:
-
sudo apt-get update
-
sudo apt-get install -y linux-headers-$(uname -r) virtualbox
-
wget https://releases.hashicorp.com/vagrant/1.9.1/vagrant_1.9.1_x86_64.deb
-
sudo dpkg -i vagrant_1.9.1_x86_64.deb
-
pip install -r tests/requirements.txt | cat
-
ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
-
molecule dependency
script
:
-
pre-commit run --all-files
-
molecule test --driver
docker
-
molecule test --driver
$driver --platform $platform
notifications
:
webhooks
:
https://galaxy.ansible.com/api/v1/notifications/
...
...
This diff is collapsed.
Click to expand it.
molecule.yml
+
20
−
6
View file @
7a3506a3
...
...
@@ -13,20 +13,34 @@ vagrant:
providers
:
-
name
:
virtualbox
type
:
virtualbox
options
:
cpus
:
1
platforms
:
-
name
:
openbsd
box
:
kaorimatz/openbsd-6.0-amd64
-
name
:
openbsd60
box
:
fnichol/openbsd-6.0-i386
-
name
:
openbsd59
box
:
fnichol/openbsd-5.9-i386
-
name
:
xenial
box
:
ubuntu/xenial64
box
:
ubuntu/xenial32
-
name
:
trusty
box
:
ubuntu/trusty32
-
name
:
jessie
box
:
debian/jessie32
-
name
:
wheezy
box
:
debian/wheezy32
instances
:
-
name
:
example
options
:
append_platform_to_hostname
:
yes
raw_config_args
:
-
'
vm.synced_folder
".",
"/vagrant",
disabled:
true'
-
'
vbguest.auto_update
=
false'
-
'
landrush.enabled
=
false'
-
'
landrush_ip.override
=
false'
-
'
vbguest.auto_update
=
false
if
Vagrant.has_plugin?("vbguest")'
-
'
landrush.enabled
=
false
if
Vagrant.has_plugin?("landrush")'
-
'
landrush_ip.override
=
false
if
Vagrant.has_plugin?("landrush")'
-
|
vm.provider "virtualbox" do |v|
v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", "off"]
end
docker
:
containers
:
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
1
−
1
View file @
7a3506a3
...
...
@@ -5,4 +5,4 @@
assert
:
that
:
-
ansible_os_family in ['OpenBSD', 'Debian']
-
ansible_distribution_release in ['6.0', '
xenial
']
-
ansible_distribution_release in ['6.0', '
5.9', 'xenial', 'trusty', 'jessie', 'wheezy
']
This diff is collapsed.
Click to expand it.
tests/playbook.yml
+
1
−
2
View file @
7a3506a3
---
-
hosts
:
example-openbsd
-
hosts
:
example-openbsd
*
gather_facts
:
false
roles
:
[
openbsd-bootstrap
]
...
...
@@ -8,6 +8,5 @@
roles
:
[
debian-bootstrap
]
-
hosts
:
all
strategy
:
free
roles
:
-
role
:
example
This diff is collapsed.
Click to expand it.
tests/requirements.txt
+
3
−
3
View file @
7a3506a3
ansible==2.2.0.0
testinfra==1.
4.5
molecule==1.17.
0
testinfra==1.
5.1
molecule==1.17.
3
ansible-lint==3.4.9
pre-commit==0.
9.4
pre-commit==0.
10.1
piprot==0.9.7
python-vagrant==0.5.14
docker-py==1.10.6
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment