now modules can implement with_items list globbing w/o updating
hardcoded lists in ansible code, just add WITH_ITEMS_USES_LIST in a comment anywhere, and of course, support recieving params as list. Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
parent
f8f9e7167d
commit
98c290f9e1
3 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
# WITH_ITEMS_USES_LIST
|
||||||
|
|
||||||
# (c) 2012, Flowroute LLC
|
# (c) 2012, Flowroute LLC
|
||||||
# Written by Matthew Williams <matthew@flowroute.com>
|
# Written by Matthew Williams <matthew@flowroute.com>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
# WITH_ITEMS_USES_LIST
|
||||||
|
|
||||||
# (c) 2013, bleader
|
# (c) 2013, bleader
|
||||||
# Written by bleader <bleader@ratonland.org>
|
# Written by bleader <bleader@ratonland.org>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/python -tt
|
#!/usr/bin/python -tt
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
# WITH_ITEMS_USES_LIST
|
||||||
|
|
||||||
# (c) 2012, Red Hat, Inc
|
# (c) 2012, Red Hat, Inc
|
||||||
# Written by Seth Vidal <skvidal at fedoraproject.org>
|
# Written by Seth Vidal <skvidal at fedoraproject.org>
|
||||||
|
|
Loading…
Reference in a new issue