On 12/23, [email protected] wrote: > Hello, > > currently, the Ansible plugin is limited to execute Ansible roles. However, > there are several reasons for considering direct Ansible playbook > execution. > > Just with roles, there is a lack of control over the execution order as the > structuring element, the playbook, is statically created by the plugin. In > addition to that, some fundamental features of Ansible on playbook-level > cannot be used with roles, for example strategies > <http://docs.ansible.com/ansible/playbooks_delegation.html#rolling-update-batch-size>
Dependencies and ordering with roles can be accomplished at the role level (not via Foreman) - check http://docs.ansible.com/ansible/playbooks_roles.html#role-dependencies > Therefore, I think, that the plugin should support playbook execution, not > just role execution. > > What do you think about this? I would really appreciate some more thoughts > before starting to work on this. I'm afraid it's an area where the project clashes with Ansible Tower quite a lot. To be fair I think playbooks would fit better as another provider for Foreman remote execution model. Unfortunately I couldn't finish the provider, but it worked (for my dev usecase :) ) https://github.com/theforeman/foreman_ansible/pull/18 > > Thanks for reading. > > --Gerrit > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- Daniel Lobato Garcia @dLobatog blog.daniellobato.me daniellobato.me GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 Keybase: https://keybase.io/elobato -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
