mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
parent
2f33c1a1a1
commit
5553b20828
206 changed files with 1853 additions and 1870 deletions
|
@ -146,9 +146,9 @@ class LookupModule(LookupBase):
|
|||
|
||||
def sanity_check(self):
|
||||
if self.count is None and self.end is None:
|
||||
raise AnsibleError( "must specify count or end in with_sequence")
|
||||
raise AnsibleError("must specify count or end in with_sequence")
|
||||
elif self.count is not None and self.end is not None:
|
||||
raise AnsibleError( "can't specify both count and end in with_sequence")
|
||||
raise AnsibleError("can't specify both count and end in with_sequence")
|
||||
elif self.count is not None:
|
||||
# convert count to end
|
||||
if self.count != 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue