<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 7, 2015 at 9:42 AM, Andrew Woodward <span dir="ltr"><<a href="mailto:xarses@gmail.com" target="_blank">xarses@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Dmitry,<div>thanks for sharing CLI options. I'd like to clarify a few things.</div><span><div><br></div><div>> <span style="font-size:12.8000001907349px">Also very important to understand that if task is mapped to role controller, </span><span style="font-size:12.8000001907349px">but node where you want to apply that task doesn't have this role - it wont be executed.</span></div></span><div><span style="font-size:12.8000001907349px">Is there a particular reason why we want to restrict a user to run an arbitrary task on a server, even if server doesn't have a role assigned? I think we should be flexible here - if I'm hacking something, I'd like to run arbitrary things.</span></div><span><div><span style="font-size:12.8000001907349px"><br></span></div></span></div></blockquote></span><div>The way I've seen this work so far is the missing role in the graph simply wont be executed, not the requested role</div></blockquote></div><div class="gmail_extra"><br></div>Hi Andrew, </div><div class="gmail_extra"><br>What do you mean by requested role?</div><div class="gmail_extra">If you want to add new role to fuel, lets say redis - adding new group into deployment configuration is mandatory, here is what it looks like [0]</div><div class="gmail_extra"><br></div><div class="gmail_extra">Then one will need to add tasks that are required for this group (both custom and basic tasks like hiera netconfig), lets say custom task is install_redis.</div><div class="gmail_extra"><br></div><div class="gmail_extra">After this is done user will be able to use cli:</div><div class="gmail_extra"><br></div><div class="gmail_extra">>> fuel node --node 5 --tasks install_redis OR --end install_redis</div><div class="gmail_extra"><br></div><div class="gmail_extra">[0] <a href="https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/deployment_groups/tasks.yaml">https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/deployment_groups/tasks.yaml</a></div></div>