title: How to specify ansible pretasks for a role?
body: <p>How should one go about defining a pretask for role dependencies.
  I currently have an <code>apache</code> role that has a user variable so in my own role in <code>&lt;role&gt;/meta/main.yml</code> I do something like:</p>
  
  <pre><code>---
  dependencies:
    - { role: apache, user: proxy }
  </code></pre>
  
  <p>The problem at this point is that I still don't have the user I specify and when the role tries to start <code>apache</code> server under a non existent user, I get an error.</p>
  
  <p>I tried creating a task in <code>&lt;role&gt;/tasks/main.yml</code> like:</p>
  
  <pre><code>---
  - user: name=proxy
  </code></pre>
  
  <p>But the user gets created only after running the <code>apache</code> task in dependencies (which is to be expected). So, is there a way to create a task that would create a user before running roles in dependencies?</p>