ikke-t / podman-container-systemd

creates systemd files and creates containers using podman
118 stars 44 forks source link

docs: warn about not using import_role #46

Closed yajo closed 3 years ago

yajo commented 3 years ago

I was becoming crazy when trying to setup various services with various calls to this role.

It turns out there's an anti-pattern that is very well explained in https://medium.com/opsops/ansible-anti-pattern-import-role-task-with-task-level-vars-a9f5c752c9c3 and makes playbooks behave crazy.

Warn about it.

ikke-t commented 3 years ago

Thanks, important point. I didn't know that, but reminds me of some debugging sessions 😁