all: ps # current full path DIR:=$(strip $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))) mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path)))) ps: @echo "ps aux" ; \ cat inv-template.yml > inv.yml ; \ swarmlab-getworkers >> inv.yml ; \ ansible-playbook -u ubuntu -i inv.yml examples/ps.yml -f 5 --private-key=/home/ubuntu/.ssh/id_rsa ; \