Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'follow' #4

Closed
drzraf opened this issue Apr 27, 2015 · 1 comment
Closed

KeyError: 'follow' #4

drzraf opened this issue Apr 27, 2015 · 1 comment

Comments

@drzraf
Copy link

drzraf commented Apr 27, 2015

With these two lines:

if module.boolean(params['follow']):
      dest = os.path.realpath(dest)

Ansible (1.7.2) fails with:

Traceback (most recent call last):
  File "<stdin>", line 1591, in <module>
  File "<stdin>", line 153, in main
KeyError: 'follow'

Setting a follow parameter throws:
msg: unsupported parameter for module: follow

yaegashi added a commit that referenced this issue Apr 30, 2015
Use params.get() for "follow" parameter with default value None.

Reference: #4
@yaegashi
Copy link
Owner

Fixed in v0.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants