Skip to content

Commit

Permalink
Ensure mandatory variables are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
neidiom committed Apr 15, 2023
1 parent 6eb8ff1 commit 11bc1fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
- name: Ensure mandatory variables are defined
assert:
that:
- roundcube_mysql_password is defined
- roundcube_des_key is defined

- name: Ensure crontab is installed
apt:
Expand Down Expand Up @@ -82,7 +87,7 @@
- name: Run roundcube upgrade script
command: "{{ roundcube_path }}/bin/update.sh"
changed_when: true
when:
when:
- link.changed
- not testing|default(False)

Expand Down

0 comments on commit 11bc1fc

Please sign in to comment.