- mkdir -p ~/.local/bin
- cp tests/fake.sh ~/.local/bin/clever
- cp tests/fake.sh ~/.local/bin/git
- - ansible-playbook tests/test-simple-app.yml -i tests/inventory
- - ansible-playbook tests/test-haskell-app.yml -i tests/inventory
- - ansible-playbook tests/test-configure-app.yml -i tests/inventory
- - ansible-playbook tests/test-scalability.yml -i tests/inventory
+ - ansible-playbook -i tests/inventory tests/test-all.yml
notifications:
slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB
--- /dev/null
+---
+- import_playbook: ./test-simple-app.yml
+- import_playbook: ./test-configure-app.yml
+- import_playbook: ./test-haskell-app.yml
+- import_playbook: ./test-scalability.yml
+- import_playbook: ./test-restart-app.yml
--- /dev/null
+---
+- name: Restart app on clever
+ hosts: localhost
+ remote_user: root
+ roles:
+ - role: clever
+ vars:
+ clever_token: 123abc
+ clever_secret: cba321
+ clever_app: app_00000000-0000-0000-0000-000000000000
+ clever_restart_only: true