I need to include a role in my own role, which relies on variables being set. Can I include them in a task and will they be applied to that included role?
Something like this:
- name: Configure firewall ports
include_role:
name: ipr-cnrs.nftables
vars:
- nft_define:
input tcp accepted:
name: in_tcp_accept
value: '{ 22, 23 }'