Skip to content

Commit

Permalink
explsin strange variable behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
suhancz committed Oct 29, 2023
1 parent 818f30e commit da15b39
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
- dyndns
- name: Configure PostfixAdmin
ansible.builtin.import_tasks: postfixadmin.yml
tags: postfixadmin
tags:
- postfix
- postfixadmin
- name: Set up SSL
ansible.builtin.import_tasks: ssl.yml
tags: ssl
Expand Down Expand Up @@ -74,9 +76,11 @@
tags: postfix
- name: Configure Dovecot
ansible.builtin.import_tasks: dovecot.yml
tags: dovecot
tags:
- dovecot
- imapsync
- name: Sync old IMAP account
# noqa jinja[invalid] however linter complains, this works
# noqa jinja[invalid] for some reason this was the only way I found to pass the variable to the included task list
ansible.builtin.include_tasks: imapsync.yml
loop: "{{ users }}"
loop_control:
Expand Down

0 comments on commit da15b39

Please sign in to comment.