You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
428 B
16 lines
428 B
5 years ago
|
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 -inv.yml examples/ps.yml -f 5 --private-key=/home/ubuntu/.ssh/id_rsa ; \
|
||
|
|
||
|
|
||
|
|