Server IP : 85.214.239.14 / Your IP : 3.145.64.210 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/usr/lib/python3/dist-packages/ansible_collections/cisco/ise/ |
Upload File : |
NAMESPACE := $(shell python -c 'import yaml; print(yaml.safe_load(open("galaxy.yml"))["namespace"])') NAME := $(shell python -c 'import yaml; print(yaml.safe_load(open("galaxy.yml"))["name"])') VERSION := $(shell python -c 'import yaml; print(yaml.safe_load(open("galaxy.yml"))["version"])') MANIFEST := build/collections/ansible_collections/$(NAMESPACE)/$(NAME)/MANIFEST.json ROLES := $(wildcard roles/*) PLUGIN_TYPES := $(filter-out __%,$(notdir $(wildcard plugins/*))) METADATA := galaxy.yml LICENSE README.md meta/runtime.yml requirements.txt changelogs/changelog.yaml $(foreach PLUGIN_TYPE,$(PLUGIN_TYPES),$(eval _$(PLUGIN_TYPE) := $(filter-out %__init__.py,$(wildcard plugins/$(PLUGIN_TYPE)/*.py)))) DEPENDENCIES := $(METADATA) $(foreach PLUGIN_TYPE,$(PLUGIN_TYPES),$(_$(PLUGIN_TYPE))) $(foreach ROLE,$(ROLES),$(wildcard $(ROLE)/*/*)) $(foreach ROLE,$(ROLES),$(ROLE)/README.md) COLLECTION_COMMAND ?= ansible-galaxy TEST = FLAGS = default: help help: @echo "Please use \`make <target>' where <target> is one of:" @echo " help to show this message" @echo " info to show infos about the collection" @echo " sanity to run santy tests" @echo " setup to set up test, lint" setup: test-setup test-setup: | tests/test_playbooks/vars/server.yml pip install --upgrade 'pip<20' pip install --upgrade -r requirements-dev.txt tests/test_playbooks/vars/server.yml: cp $@.example $@ @echo "For recording, please adjust $@ to match your reference server." $(MANIFEST): ansible-galaxy collection build --force ansible-galaxy collection install cisco-ise-* --force build/src/%: % install -m 644 -DT $< $@ doc-setup: pip install --upgrade -r docs/requirements.txt doc: $(MANIFEST) mkdir -p ./docs/plugins mkdir -p ./docs/roles cat ./docs/roles.rst.template > ./docs/roles/index.rst for role_readme in roles/*/README.md; do \ ln -f -s ../../$$role_readme ./docs/roles/$$(basename $$(dirname $$role_readme)).md; \ echo " * :doc:\`$$(basename $$(dirname $$role_readme))\`" >> ./docs/roles/index.rst; \ done antsibull-docs collection --use-current --squash-hierarchy --dest-dir ./docs/plugins $(NAMESPACE).$(NAME) make -C docs html FORCE: .PHONY: help dist lint sanity test test-crud test-check-mode test-other livetest setup test-setup doc-setup doc publish FORCE