Skip to content

Commit

Permalink
add default in case of no acl entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayfly277 committed Nov 6, 2023
1 parent 958eb11 commit 0acb0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/ad-acl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
roles:
- { role: 'acl', tags: 'acl'}
vars:
ad_acls: "{{lab.domains[lab.hosts[dict_key].domain].acls}}"
ad_acls: "{{lab.domains[lab.hosts[dict_key].domain].acls | default({})}}"
domain: "{{lab.hosts[dict_key].domain}}"
domain_username: "{{domain}}\\Administrator"
domain_password: "{{lab.domains[domain].domain_password}}"

0 comments on commit 0acb0f7

Please sign in to comment.