5 changed files with 89 additions and 9 deletions
@ -0,0 +1,24 @@
|
||||
.PHONY: help test |
||||
|
||||
help: ## This help.
|
||||
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
build: ## build collection localy
|
||||
ansible-galaxy collection build -f
|
||||
|
||||
install: ## install collection localy
|
||||
ansible-galaxy collection install markuman*
|
||||
|
||||
remove: ## remove collection localy
|
||||
rm -rf markuman* ~/.ansible/collections/ansible_collections/markuman/nessus
|
||||
|
||||
syntax: ## test compile
|
||||
python -m py_compile plugins/modules/task.py
|
||||
|
||||
round: ## remove, build install
|
||||
$(MAKE) syntax
|
||||
$(MAKE) remove
|
||||
$(MAKE) build
|
||||
$(MAKE) install
|
@ -0,0 +1,14 @@
|
||||
namespace: "markuman" |
||||
description: nessus collection |
||||
name: "nessus" |
||||
version: "0.0.1" |
||||
readme: "README.md" |
||||
authors: |
||||
- "Markus Bergholz <markuman+spambelongstogoogle@gmail.com>" |
||||
license: |
||||
- "GPL-3.0-or-later" |
||||
tags: |
||||
- nessus |
||||
- collection |
||||
repository: "https://git.osuv.de/m/nessus_collection" |
||||
issues: https://github.com/markuman/nessus_collection |
Loading…
Reference in new issue