diff options
author | paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com> | 2020-06-19 17:16:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 17:16:11 +0200 |
commit | f39118d499132f017d7f2ec0944bf673b6deb7e9 (patch) | |
tree | d92cded89530738b61ab4e6735f9f49a102fc467 /tests/test-simple-app.yml | |
parent | af67286adea7da4e01883bb6c60f44a6141e439f (diff) | |
parent | 50411cbb2d091a3bca251e8cd1f599928141cb7b (diff) | |
download | ansible-clever-f39118d499132f017d7f2ec0944bf673b6deb7e9.tar.gz ansible-clever-f39118d499132f017d7f2ec0944bf673b6deb7e9.tar.zst ansible-clever-f39118d499132f017d7f2ec0944bf673b6deb7e9.zip |
Merge pull request #68 from paulrbr-fl/bug-fix
fix: make sure not to include unecessary ENV variable
Diffstat (limited to 'tests/test-simple-app.yml')
-rw-r--r-- | tests/test-simple-app.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test-simple-app.yml b/tests/test-simple-app.yml new file mode 100644 index 0000000..e0b905a --- /dev/null +++ b/tests/test-simple-app.yml | |||
@@ -0,0 +1,15 @@ | |||
1 | --- | ||
2 | - name: Deploy simple app to 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 | post_tasks: | ||
12 | - name: Check CC_RUN_COMMAND is not part of the environment | ||
13 | fail: | ||
14 | msg: "CC_RUN_COMMAND env variable should not be present in the environment dict" | ||
15 | when: clever_env.CC_RUN_COMMAND is defined | ||