Browse Source

[UPD] latest cookie

master
Justin Lecher 3 months ago
parent
commit
ff0c681dca
  1. 2
      roles/hashicorp_repo/.cruft.json
  2. 8
      roles/hashicorp_repo/Makefile
  3. 20
      roles/hashicorp_repo/molecule/default/molecule.yml

2
roles/hashicorp_repo/.cruft.json

@ -1,6 +1,6 @@
{
"template": "git@git.ercpe.de:justin/cookiecutter-ansible-role.git",
"commit": "5d2bdff8ac9a390ba903817135dd23a14f30b4d7",
"commit": "a671e38c6a10336aea815ac2654c339f5d9123b7",
"context": {
"cookiecutter": {
"full_name": "Justin Lecher",

8
roles/hashicorp_repo/Makefile

@ -1,4 +1,5 @@
MOLECULE = pipenv run molecule
MOLECULE_ARGS ?= --verbose
MOLECULE = pipenv run molecule ${MOLECULE_ARGS}
.PHONY: help check
@ -6,7 +7,7 @@ help:
@echo "Make targets:\n"
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$'
check:
cruft-check:
cruft check
################################################################################
@ -22,6 +23,9 @@ status:
lint:
$(MOLECULE) lint
check:
$(MOLECULE) check
converge:
$(MOLECULE) converge

20
roles/hashicorp_repo/molecule/default/molecule.yml

@ -44,17 +44,33 @@ provisioner:
name: ansible
config_options:
defaults:
interpreter_python: auto_silent
ansible_managed: "Ansible managed: Do not touch this file by hand"
bin_ansible_callbacks: yes
callback_whitelist: profile_tasks, timer, yaml
fact_caching: jsonfile
fact_caching_connection: .facts_cache
fact_caching_timeout: 1800
force_valid_group_names: always
force_color: yes
gathering: smart
gather_timeout: 60
interpreter_python: auto_silent
stdout_callback: yaml
timeout: 60
yaml_valid_extensions: .yml, .json, .vlt
ssh_connection:
pipelining: false
diff:
always: yes
verifier:
name: ansible
# name: testinfra
# options:
# v: 1
# x: yes
# n: auto
# v: 2
# l: yes
# color: "yes"
lint: |
set -e
yamllint .

Loading…
Cancel
Save