forked from ansible-lockdown/RHEL9-CIS
updated
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
42d37955e6
commit
dc41fef086
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
GALAXY=ansible-galaxy
|
||||
ANSIBLE_LINT=ansible-lint
|
||||
ANSIBLE_LINT='/usr/local/bin/ansible-lint'
|
||||
ANSIBLE_FILE=site.yml
|
||||
|
||||
all: help
|
||||
|
|
@ -20,7 +20,7 @@ galaxy-install:
|
|||
$(GALAXY) install -r ./collections/requirements.yml
|
||||
|
||||
ansible-lint:
|
||||
$(ANSIBLE-LINT) $(ANSIBLE_FILE)
|
||||
$(ANSIBLE_LINT) $(ANSIBLE_FILE)
|
||||
|
||||
yamllint:
|
||||
git ls-files "*.yml"|xargs yamllint
|
||||
|
|
@ -28,5 +28,5 @@ yamllint:
|
|||
pip-requirements:
|
||||
@echo 'Python dependencies:'
|
||||
@cat requirements.txt
|
||||
$(ANSIBLE_LINT) install -r requirements.txt
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue