aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2020-06-23 10:52:52 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2020-06-23 10:52:52 +0200
commitfd2e4788a034e76b25001dc11d56e05ba9f428b5 (patch)
tree955e54e32a2b3e4795077e1e80c3bd6319230333 /tests
parentab73076c017bfc8abbe62e617292ef7232b630f1 (diff)
downloadansible-clever-fd2e4788a034e76b25001dc11d56e05ba9f428b5.tar.gz
ansible-clever-fd2e4788a034e76b25001dc11d56e05ba9f428b5.tar.zst
ansible-clever-fd2e4788a034e76b25001dc11d56e05ba9f428b5.zip
tests: Add tests for the new 'restart' feature
Diffstat (limited to 'tests')
-rw-r--r--tests/test-all.yml6
-rw-r--r--tests/test-restart-app.yml11
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/test-all.yml b/tests/test-all.yml
new file mode 100644
index 0000000..64eb239
--- /dev/null
+++ b/tests/test-all.yml
@@ -0,0 +1,6 @@
1---
2- import_playbook: ./test-simple-app.yml
3- import_playbook: ./test-configure-app.yml
4- import_playbook: ./test-haskell-app.yml
5- import_playbook: ./test-scalability.yml
6- import_playbook: ./test-restart-app.yml
diff --git a/tests/test-restart-app.yml b/tests/test-restart-app.yml
new file mode 100644
index 0000000..09d9936
--- /dev/null
+++ b/tests/test-restart-app.yml
@@ -0,0 +1,11 @@
1---
2- name: Restart app on clever
3 hosts: localhost
4 remote_user: root
5 roles:
6 - role: clever
7 vars:
8 clever_token: 123abc
9 clever_secret: cba321
10 clever_app: app_00000000-0000-0000-0000-000000000000
11 clever_restart_only: true