aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test-configure-app.yml
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2020-06-19 11:38:17 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2020-06-19 17:01:56 +0200
commit351765fbc860a54d0b8691f74555b04fde5416bb (patch)
tree771157ad22043a84167670ffccc723979c0e1b0b /tests/test-configure-app.yml
parentaf67286adea7da4e01883bb6c60f44a6141e439f (diff)
downloadansible-clever-351765fbc860a54d0b8691f74555b04fde5416bb.tar.gz
ansible-clever-351765fbc860a54d0b8691f74555b04fde5416bb.tar.zst
ansible-clever-351765fbc860a54d0b8691f74555b04fde5416bb.zip
tests: Add more test cases
Diffstat (limited to 'tests/test-configure-app.yml')
-rw-r--r--tests/test-configure-app.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/test-configure-app.yml b/tests/test-configure-app.yml
new file mode 100644
index 0000000..06e5e92
--- /dev/null
+++ b/tests/test-configure-app.yml
@@ -0,0 +1,18 @@
1---
2- name: Deploy an app & configure system details 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_domain: my-app.example.org
12 clever_syslog_server: 172.10.0.1:54000
13 clever_build_flavor: M
14 post_tasks:
15 - name: Check CC_RUN_COMMAND is not part of the environment
16 fail:
17 msg: "CC_RUN_COMMAND env variable should not be present in the environment dict"
18 when: clever_env.CC_RUN_COMMAND is defined