<h5 dir="auto">Issue Type:</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">Ansible Version:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.0.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.0.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">Ansible Configuration:</h5>
<p dir="auto">No changes</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">CentOS 7 managing CentOS7</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">--start-at-step switch doesn't work</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto"><a href="https://github.com/goozbach/ansible-steps">https://github.com/goozbach/ansible-steps</a></p>
<p dir="auto">Use this playbook to execute the following command:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook -i inv/ site.yml --start-at-task=bar"><pre class="notranslate"><code class="notranslate">ansible-playbook -i inv/ site.yml --start-at-task=bar
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">The playbook would start at the 'bar' task and complete from there:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[vagrant@localhost steps]$ ansible-playbook -i inv/ site.yml

PLAY [step broken] *************************************************************

TASK [bar] *********************************************************************
ok: [localhost] =&gt; {
    &quot;msg&quot;: &quot;bar&quot;
}

TASK [baz] *********************************************************************
ok: [localhost] =&gt; {
    &quot;msg&quot;: &quot;baz&quot;
}

TASK [qux] *********************************************************************
ok: [localhost] =&gt; {
    &quot;msg&quot;: &quot;qux&quot;
}

PLAY RECAP *********************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=0"><pre class="notranslate"><code class="notranslate">[vagrant@localhost steps]$ ansible-playbook -i inv/ site.yml

PLAY [step broken] *************************************************************

TASK [bar] *********************************************************************
ok: [localhost] =&gt; {
    "msg": "bar"
}

TASK [baz] *********************************************************************
ok: [localhost] =&gt; {
    "msg": "baz"
}

TASK [qux] *********************************************************************
ok: [localhost] =&gt; {
    "msg": "qux"
}

PLAY RECAP *********************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=0
</code></pre></div>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">Play doesn't run any tasks:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[vagrant@localhost steps]$ ansible-playbook -i inv/ site.yml --start-at-task=bar

PLAY [step broken] *************************************************************

PLAY RECAP *********************************************************************```"><pre class="notranslate"><code class="notranslate">[vagrant@localhost steps]$ ansible-playbook -i inv/ site.yml --start-at-task=bar

PLAY [step broken] *************************************************************

PLAY RECAP *********************************************************************```
</code></pre></div>
<h5 dir="auto">Issue Type:</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">Ansible Version:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.0 (detached HEAD 61f05c2e8d) last updated 2016/03/16 14:59:29 (GMT -700)
  lib/ansible/modules/core: (detached HEAD 345d9cbca8) last updated 2016/03/16 14:59:37 (GMT -700)
  lib/ansible/modules/extras: (detached HEAD f47b499bb9) last updated 2016/03/16 14:59:37 (GMT -700)"><pre class="notranslate"><code class="notranslate">ansible 2.1.0 (detached HEAD 61f05c2e8d) last updated 2016/03/16 14:59:29 (GMT -700)
  lib/ansible/modules/core: (detached HEAD 345d9cbca8) last updated 2016/03/16 14:59:37 (GMT -700)
  lib/ansible/modules/extras: (detached HEAD f47b499bb9) last updated 2016/03/16 14:59:37 (GMT -700)
</code></pre></div>
<h5 dir="auto">Ansible Configuration:</h5>
<h5 dir="auto">Environment:</h5>
<p dir="auto">OSX El Capitan</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">--start-at-task non-functional since sometime after 2.0.0.2. Currently broken in stable-2.0 and devel.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">Run the sample playbook below with ansible-playbook playbook.yml --start-at-task "start here". All tasks in the first play will be skipped (except setup), and all tasks in subsequent plays will run (including setup). Suspect this is related to the "when do we run setup" changes w/ tags, but haven't had time to dig into it yet.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: localhost
  tasks:
  - name: skip me
    debug: msg=&quot;shouldn't see this&quot;
  - name: start here
    debug: msg=&quot;should start here&quot;
  - name: run also
    debug: msg=&quot;run me too&quot;

- name: second play
  hosts: localhost
  tasks:
  - name: this should run
    debug: msg=&quot;first task new play&quot;"><pre class="notranslate"><code class="notranslate">- hosts: localhost
  tasks:
  - name: skip me
    debug: msg="shouldn't see this"
  - name: start here
    debug: msg="should start here"
  - name: run also
    debug: msg="run me too"

- name: second play
  hosts: localhost
  tasks:
  - name: this should run
    debug: msg="first task new play"
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">First task in first play is skipped, all others run</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">All tasks in first play skipped, all others run</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [localhost] ***************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

PLAY [second play] *************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [this should run] *********************************************************
ok: [localhost] =&gt; {
    &quot;failed&quot;: false,
    &quot;msg&quot;: &quot;first task new play&quot;
}

PLAY RECAP *********************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=0"><pre class="notranslate"><code class="notranslate">PLAY [localhost] ***************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

PLAY [second play] *************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [this should run] *********************************************************
ok: [localhost] =&gt; {
    "failed": false,
    "msg": "first task new play"
}

PLAY RECAP *********************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=0
</code></pre></div>