pcahyna
pcahyna
Thanks. I formatted your comment.
I think the whole `when:` condition should be omitted. The `package` module will take care of not installing packages that are already installed.
This must be a common issue to all the `package:` invocations though and other roles do not do that. Don't such optimizations belong to the `yum` or `package` modules?
Could the role(s) provide a wrapper action plugin which would handle this optimization? It does not make sense to clutter all the package installation tasks with such conditions.
https://github.com/linux-system-roles/template/pull/34
> 3\. Add another step in the role tasks file after the current call of the module to destroy the checkpoint. Just an idea, would it make sense to do...
I guess this is specific to RHEL6 and dhcp? Could you please provide `net_demo.yml` ?
Interestingly, such issue was supposed to be fixed already (https://bugzilla.redhat.com/show_bug.cgi?id=1476053, 5deb2afd469d85ed9880bf7bd54d502896c2408f). Note though that that commit message says: > Now, try to determine whether the desire "up" or "down" state...
Fedora. Updated from older releases, so the symlink may be a leftover from an older release.
I propose to leave this PR open and let @antonvoznia experiment with it and report results (it is one of the topics of his thesis).