Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Update loop_nested.yml #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update loop_nested.yml #261

wants to merge 1 commit into from

Conversation

giner
Copy link

@giner giner commented Oct 2, 2019

Fix the example of referencing a variable for looping with with_nested.

Before:

changed: [localhost] => (item=[u'listvar1', 1])
changed: [localhost] => (item=[u'listvar1', 2])
changed: [localhost] => (item=[u'listvar1', 3])

After:

changed: [localhost] => (item=[u'a', 1])
changed: [localhost] => (item=[u'a', 2])
changed: [localhost] => (item=[u'a', 3])
changed: [localhost] => (item=[u'b', 1])
changed: [localhost] => (item=[u'b', 2])
changed: [localhost] => (item=[u'b', 3])
changed: [localhost] => (item=[u'c', 1])
changed: [localhost] => (item=[u'c', 2])
changed: [localhost] => (item=[u'c', 3])

Fix the example of referencing a variable for looping with `with_nested`.

Before:
```
changed: [localhost] => (item=[u'listvar1', 1])
changed: [localhost] => (item=[u'listvar1', 2])
changed: [localhost] => (item=[u'listvar1', 3])
```

After:
```
changed: [localhost] => (item=[u'a', 1])
changed: [localhost] => (item=[u'a', 2])
changed: [localhost] => (item=[u'a', 3])
changed: [localhost] => (item=[u'b', 1])
changed: [localhost] => (item=[u'b', 2])
changed: [localhost] => (item=[u'b', 3])
changed: [localhost] => (item=[u'c', 1])
changed: [localhost] => (item=[u'c', 2])
changed: [localhost] => (item=[u'c', 3])
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant