Skip to content
Snippets Groups Projects
Commit 9c20b2f9 authored by nimrod's avatar nimrod
Browse files

Merge branch 'master' of /home/nimrod/Documents/Shore/Ansible/example

# Conflicts:
#	meta/main.yml
parents fa8d683f bfd73ee7
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ group: beta ...@@ -7,6 +7,7 @@ group: beta
env: env:
global: global:
- VBOX_MEMORY=2048 - VBOX_MEMORY=2048
- VBOX_HWVIRTEX=off
matrix: matrix:
- TOXENV=pre-commit - TOXENV=pre-commit
- TOXENV=openbsd60 - TOXENV=openbsd60
......
...@@ -3,7 +3,7 @@ galaxy_info: ...@@ -3,7 +3,7 @@ galaxy_info:
description: Provision PHP FastCGI (FPM) description: Provision PHP FastCGI (FPM)
company: Shore technologies company: Shore technologies
license: MIT license: MIT
min_ansible_version: 2.0 min_ansible_version: 2.3
platforms: platforms:
- name: OpenBSD - name: OpenBSD
versions: versions:
......
...@@ -42,6 +42,6 @@ vagrant: ...@@ -42,6 +42,6 @@ vagrant:
- 'landrush_ip.override = false if Vagrant.has_plugin?("landrush")' - 'landrush_ip.override = false if Vagrant.has_plugin?("landrush")'
- | - |
vm.provider "virtualbox" do |v| vm.provider "virtualbox" do |v|
v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", "off"] v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", ENV['VBOX_HWVIRTEX']] if ENV.has_key?('VBOX_HWVIRTEX')
v.memory = ENV['VBOX_MEMORY'].to_i if ENV.has_key?('VBOX_MEMORY') v.memory = ENV['VBOX_MEMORY'].to_i if ENV.has_key?('VBOX_MEMORY')
end end
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
- ansible_os_family in php_fpm_validate_config - ansible_os_family in php_fpm_validate_config
- ansible_os_family in php_fpm_pools_dir - ansible_os_family in php_fpm_pools_dir
- ansible_os_family in php_fpm_user - ansible_os_family in php_fpm_user
- ansible_distribution_release in ['jessie', 'trusty'] or ansible_distribution_version in ['6.0'] - ansible_distribution_release in ['precise', 'wheezy', 'jessie', 'trusty'] or ansible_distribution_version in ['6.0']
- ansible_os_family != 'OpenBSD' or ansible_distribution_release in php_fpm_pkg_version - ansible_os_family != 'OpenBSD' or ansible_distribution_release in php_fpm_pkg_version
- php_fpm_global_config is iterable - php_fpm_global_config is iterable
- php_fpm_www_pool_config is iterable - php_fpm_www_pool_config is iterable
......
ansible==2.3.0.0 ansible==2.3.0.0
testinfra==1.5.5 testinfra==1.5.5
molecule==1.23.2 molecule==1.24.0
ansible-lint==3.4.12 ansible-lint==3.4.12
python-vagrant==0.5.14 python-vagrant==0.5.14
netaddr==0.7.19 netaddr==0.7.19
......
[tox] [tox]
skip_install = True skip_install = True
skipsdist = True skipsdist = True
envlist = openbsd60,xenial,trusty,precise,stretch,jessie,wheezy envlist = openbsd60,trusty,precise,jessie,wheezy
[testenv] [testenv]
envdir = {toxinidir}/.tox envdir = {toxinidir}/.tox/molecule
deps = -rtests/requirements.txt deps = -rtests/requirements.txt
passenv = HOME VBOX* ANSIBLE_* passenv = HOME VBOX* ANSIBLE_*
whitelist_externals = whitelist_externals =
...@@ -14,7 +14,6 @@ commands = ...@@ -14,7 +14,6 @@ commands =
molecule test --platform {envname} molecule test --platform {envname}
[testenv:pre-commit] [testenv:pre-commit]
envdir = {toxinidir}/.tox
deps = deps =
-rtests/requirements.txt -rtests/requirements.txt
pre-commit pre-commit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment