Skip to content

Commit 14afebe

Browse files
committed
zammad: Update molecule tests to catch missing become directives
Signed-off-by: Norman Ziegner <[email protected]>
1 parent 39b0543 commit 14afebe

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

molecule/zammad/converge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
---
77
- name: "Converge"
88
hosts: "all"
9+
become: false
910
tasks:
1011

1112
- name: "Get private key content"

molecule/zammad/molecule.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,10 @@ provisioner:
2626
playbooks:
2727
prepare: "prepare.yml"
2828
converge: "converge.yml"
29+
inventory:
30+
hosts:
31+
all:
32+
vars:
33+
ansible_user: "ansible"
2934
verifier:
3035
name: "ansible"

molecule/zammad/prepare.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
---
77
- name: "Prepare"
88
hosts: "all"
9+
become: true
910
vars:
1011
# Apply suggested Elasticsearch configuration
1112
elasticsearch_version: "8.x"

0 commit comments

Comments
 (0)