From one ansible script I would like to call a single role multiple times passing different tags in.
example:
`
roles:
`
Or is there another common pattern used to handle such case?
From one ansible script I would like to call a single role multiple times passing different tags in.
[...]
Or is there another common pattern used to handle such case?
If a server has role 'webserver', I would add tasks inside that role to
install, configure and start it.
Otherwise you start thinking "this server has role X, but is it
configured or just installed?".. that's question you might ask for a
package, not a role. IMHO.
Giovanni