Skip to content
Snippets Groups Projects
Commit 60d81e92 authored by nimrod's avatar nimrod
Browse files

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

# Conflicts:
#	tasks/main.yml
parents 73b5c30f 4555313c
No related branches found
No related tags found
No related merge requests found
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
sha: v0.9.1 sha: v0.9.3
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-json - id: check-json
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
- id: flake8 - id: flake8
- id: check-symlinks - id: check-symlinks
- repo: https://github.com/adarnimrod/ansible-pre-commit.git - repo: https://github.com/adarnimrod/ansible-pre-commit.git
sha: v0.6.0 sha: v0.7.0
hooks: hooks:
- id: ansible-syntax-check - id: ansible-syntax-check
- repo: https://github.com/willthames/ansible-lint - repo: https://github.com/willthames/ansible-lint
sha: v3.4.13 sha: v3.4.15
hooks: hooks:
- id: ansible-lint - id: ansible-lint
files: tests/playbook.yml files: tests/playbook.yml
......
ansible==2.3.1.0 ansible==2.3.2.0
testinfra==1.6.4 testinfra==1.7.0
molecule==1.25.0 molecule<2
ansible-lint==3.4.13 ansible-lint==3.4.15
python-vagrant==0.5.15 python-vagrant==0.5.15
netaddr==0.7.19 netaddr==0.7.19
passlib==1.7.1 passlib==1.7.1
......
...@@ -15,17 +15,17 @@ commands = ...@@ -15,17 +15,17 @@ commands =
[testenv:pre-commit] [testenv:pre-commit]
deps = deps =
-rtests/requirements.txt {[testenv]deps}
pre-commit pre-commit
passenv = HOME VBOX* ANSIBLE_* passenv = {[testenv]passenv}
whitelist_externals = whitelist_externals = {[testenv]whitelist_externals}
sh
commands = commands =
sh -c "ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles" sh -c "ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles"
molecule dependency molecule dependency
pre-commit run --all-files pre-commit run --all-files
[testenv:import] [testenv:import]
envdir = {toxinidir}/.tox/molecule envdir = {[testenv]envdir}
deps = -rtests/requirements.txt deps = {[testenv]deps}
passenv = {[testenv]passenv}
commands = ansible-galaxy import -v commands = ansible-galaxy import -v
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment