Remove 'attempts' from non-looped tasks (#35316)

* Remove 'attempts' from non-looped tasks

* Use self._task.until to determine if we're in a loop

* Undo recent changes to Windows tests
This commit is contained in:
Dag Wieers 2018-01-26 16:06:03 +01:00 committed by Matt Martz
commit 4fa02d581d
3 changed files with 2 additions and 22 deletions

View file

@ -25,7 +25,6 @@
- name: set expected value for files in a single directory
set_fact:
expected:
attempts: 1
changed: False
examined: 5
failed: False
@ -109,7 +108,6 @@
- name: set fact for hidden files
set_fact:
expected:
attempts: 1
changed: False
examined: 11
failed: False
@ -152,7 +150,6 @@
- name: set fact for pattern files
set_fact:
expected:
attempts: 1
changed: False
examined: 5
failed: False
@ -191,7 +188,6 @@
- name: set expected value for files in a nested directory
set_fact:
expected:
attempts: 1
changed: False
examined: 8
failed: False
@ -261,7 +257,6 @@
- name: set expected value for files in a nested directory while following links
set_fact:
expected:
attempts: 1
changed: False
examined: 10
failed: False
@ -345,7 +340,6 @@
- name: set expected fact for directories with recurse and follow
set_fact:
expected:
attempts: 1
changed: False
examined: 2
failed: False
@ -411,7 +405,6 @@
- name: set expected fact for files by size
set_fact:
expected:
attempts: 1
changed: False
examined: 5
failed: False
@ -455,7 +448,6 @@
- name: set expected fact for files by size (less than)
set_fact:
expected:
attempts: 1
changed: False
examined: 5
failed: False