-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (29 loc) · 587 Bytes
/
Makefile
File metadata and controls
37 lines (29 loc) · 587 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SHELL = /bin/bash
.SHELLFLAGS = -e -o pipefail -c
ANSIBLE_ARGS ?= $(ANSIBLE_OPTIONS)
ifdef ANSIBLE_TAGS
ANSIBLE_ARGS := $(ANSIBLE_ARGS) --tags='$(ANSIBLE_TAGS)'
endif
export PY_COLORS=1
export ANSIBLE_FORCE_COLOR=1
.PHONY: test
test:
molecule test
.PHONY: debug
debug:
molecule --debug test --destroy never
.PHONY: lint
lint:
ec
yamllint --strict --config-file .yamllint .
ansible-lint --force-color .
flake8 --show-source .
.PHONY: converge
converge:
molecule converge -- $(ANSIBLE_ARGS)
.PHONY: verify
verify:
molecule verify
.PHONY: destroy
destroy:
molecule destroy