Skip to content

Commit

Permalink
use flatten variables
Browse files Browse the repository at this point in the history
  • Loading branch information
zhan9san committed Oct 26, 2024
1 parent 627111b commit c768c47
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@
- name: Assert JAVA_OPTS is present
ansible.builtin.assert:
that:
- override_conf_decoded is defined
- 'JAVA_OPTS=-Djenkins.install.runSetupWizard=false' in override_conf_decoded
- "'JAVA_OPTS=-Djenkins.install.runSetupWizard=false' in override_conf_decoded"
fail_msg: "JAVA_OPTS is not set correctly in override.conf."

- name: Assert JENKINS_LISTEN_ADDRESS is present
ansible.builtin.assert:
that:
- override_conf_decoded is defined
- 'JENKINS_LISTEN_ADDRESS=127.0.0.1' in override_conf_decoded
- "'JENKINS_LISTEN_ADDRESS=127.0.0.1' in override_conf_decoded"
fail_msg: "JENKINS_LISTEN_ADDRESS is not set correctly in override.conf."

0 comments on commit c768c47

Please sign in to comment.