Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
collectd
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ansible
collectd
Commits
dbd7588d
Commit
dbd7588d
authored
8 years ago
by
nimrod
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of /home/nimrod/Documents/Shore/Ansible/example
# Conflicts: # molecule.yml # tests/playbook.yml
parents
c01d3334
0390260e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+15
-2
15 additions, 2 deletions
.travis.yml
molecule.yml
+16
-6
16 additions, 6 deletions
molecule.yml
tests/playbook.yml
+2
-2
2 additions, 2 deletions
tests/playbook.yml
tests/requirements.txt
+2
-2
2 additions, 2 deletions
tests/requirements.txt
with
35 additions
and
12 deletions
.travis.yml
+
15
−
2
View file @
dbd7588d
...
@@ -2,22 +2,35 @@
...
@@ -2,22 +2,35 @@
language
:
python
language
:
python
python
:
"
2.7"
python
:
"
2.7"
dist
:
trusty
dist
:
trusty
sudo
:
fals
e
sudo
:
Tru
e
group
:
beta
group
:
beta
services
:
[
docker
]
services
:
[
docker
]
env
:
-
platform
:
openbsd
driver
:
vagrant
-
platform
:
xenial
driver
:
vagrant
-
platform
:
trusty
driver
:
vagrant
-
platform
:
jessie
driver
:
vagrant
cache
:
cache
:
-
pip
-
pip
-
directories
:
-
directories
:
-
$HOME/.pre-commit
-
$HOME/.pre-commit
install
:
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
-
pip install -r tests/requirements.txt | cat
-
ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
-
ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
-
molecule dependency
-
molecule dependency
script
:
script
:
-
pre-commit run --all-files
-
pre-commit run --all-files
-
molecule test --driver
docker
-
molecule test --driver
$driver --platform $platform
notifications
:
notifications
:
webhooks
:
https://galaxy.ansible.com/api/v1/notifications/
webhooks
:
https://galaxy.ansible.com/api/v1/notifications/
...
...
This diff is collapsed.
Click to expand it.
molecule.yml
+
16
−
6
View file @
dbd7588d
...
@@ -13,20 +13,30 @@ vagrant:
...
@@ -13,20 +13,30 @@ vagrant:
providers
:
providers
:
-
name
:
virtualbox
-
name
:
virtualbox
type
:
virtualbox
type
:
virtualbox
options
:
cpus
:
1
platforms
:
platforms
:
-
name
:
openbsd
-
name
:
openbsd
box
:
kaorimatz/openbsd-6.0-amd64
box
:
fnichol/openbsd-6.0-i386
-
name
:
debian
-
name
:
jessie
box
:
debian/jessie64
box
:
nogajun/jessie32
-
name
:
xenial
box
:
ubuntu/xenial32
-
name
:
trusty
box
:
ubuntu/trusty32
instances
:
instances
:
-
name
:
collectd
-
name
:
collectd
options
:
options
:
append_platform_to_hostname
:
yes
append_platform_to_hostname
:
yes
raw_config_args
:
raw_config_args
:
-
'
vm.synced_folder
".",
"/vagrant",
disabled:
true'
-
'
vm.synced_folder
".",
"/vagrant",
disabled:
true'
-
'
vbguest.auto_update
=
false'
-
'
vbguest.auto_update
=
false
if
Vagrant.has_plugin?("vbguest")'
-
'
landrush.enabled
=
false'
-
'
landrush.enabled
=
false
if
Vagrant.has_plugin?("landrush")'
-
'
landrush_ip.override
=
false'
-
'
landrush_ip.override
=
false
if
Vagrant.has_plugin?("landrush")'
-
|
vm.provider "virtualbox" do |v|
v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", "off"]
end
docker
:
docker
:
containers
:
containers
:
...
...
This diff is collapsed.
Click to expand it.
tests/playbook.yml
+
2
−
2
View file @
dbd7588d
...
@@ -8,5 +8,5 @@
...
@@ -8,5 +8,5 @@
roles
:
[
debian-bootstrap
]
roles
:
[
debian-bootstrap
]
-
hosts
:
all
-
hosts
:
all
strategy
:
free
roles
:
role
s
:
[
collectd
]
-
role
:
collectd
This diff is collapsed.
Click to expand it.
tests/requirements.txt
+
2
−
2
View file @
dbd7588d
ansible==2.2.0.0
ansible==2.2.0.0
testinfra==1.
4.5
testinfra==1.
5.1
molecule==1.17.
0
molecule==1.17.
3
ansible-lint==3.4.9
ansible-lint==3.4.9
pre-commit==0.9.4
pre-commit==0.9.4
piprot==0.9.7
piprot==0.9.7
...
...
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