chore: add ping_demo Makefile target
helper target, to ping all demo servers at one Signed-off-by: Bert-Jan Fikse <bert-jan@whatwedo.ch>
This commit is contained in:
parent
7f35fc63a3
commit
1641956dd2
1 changed files with 7 additions and 5 deletions
12
Makefile
12
Makefile
|
|
@ -1,8 +1,10 @@
|
||||||
install:
|
install:
|
||||||
ansible-galaxy collection install -r requirements.yml -p collections
|
ansible-galaxy collection install -r requirements.yml -p collections
|
||||||
|
|
||||||
run-site:
|
ping_demo:
|
||||||
ansible-playbook -i inventories/prod/hosts.ini playbooks/site.yml
|
echo "# pinging demo-gymburgdorf"
|
||||||
|
ansible all -i inventories/demo-gymburgdorf/hosts.yml -m ping || true
|
||||||
run-site-dev:
|
echo "# pinging demo-mbazürich"
|
||||||
ansible-playbook -i inventories/dev/hosts.ini playbooks/site.yml
|
ansible all -i inventories/demo-mbazürich/hosts.yml -m ping || true
|
||||||
|
echo "# pinging demo-phbern"
|
||||||
|
ansible all -i inventories/demo-phbern/hosts.yml -m ping || true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue