hi, > Hi all, > > Anyone knows why is apt behaving differently here? I have this var
I don't think this is related to the apt module, but to how the variable ends up being loaded. It seems to end up as a string, but not as a sting in JSON format (which would be converted to a list), but in Python format. Without knowing how exactly you end up with the variable in this format. (Also please note that both Ansible 2.4.x and 2.5.x are completely outdated and End of Line.) Cheers, Felix > > fonts_packages: > - ttf-wqy-zenhei > - fonts-takao-mincho > - fonts-indic > - ttf-wqy-microhei > > and simple task: > > - name: install additional fonts > apt: > name: "{{ fonts_packages }}" > state: present > > passing the list to apt. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20220307070738.32c92b38%40rovaniemi.