now correctly detects hard links
simplified check_mode
simplified other file attribute handling in link mode
made conditionals clearer

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Bug fix for a crash, when any_errors_fatal is true

Reported by Rumen:

TASK: [fail FAIL] *************************************************************
skipping: [hostname.com]
failed: [hostname.com] => {"failed": true}
msg: Failed as requested from task
Traceback (most recent call last):
  File "/usr/local/bin/ansible-playbook", line 268, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/local/bin/ansible-playbook", line 208, in main
    pb.run()
  File "/Library/Python/2.7/site-packages/ansible/playbook/__init__.py", line 262, in run
    if not self._run_play(play):
  File "/Library/Python/2.7/site-packages/ansible/playbook/__init__.py", line 580, in _run_play
    if (hosts_count - len(host_list)) > int((play.max_fail_pct)/100.0 * hosts_count):
TypeError: object of type 'NoneType' has no len()
Avoid ugly formatting due to a long if statement
Merge pull request #4059 from dekked/devel

Fixed -e "" on ansible-playbook.
Fix wait_for conversion between String to int
Fix wait_for default value to follow the documentation (documentation = 180, default value = 120)
Merge pull request #4065 from CharlesBlonde/nova_wait_for_bug

Nova_compute wait_for fixes
Merge branch 'devel' of https://github.com/kavink/ansible into kavink-devel
Minor fix so the any_errors_fatal value is checked properly
Merge branch 'kavink-devel' into devel
Merge branch 'file_fixes' of https://github.com/bcoca/ansible into bcoca-file_fixes
Correctly handle variable issues when evaluating jinja2 when statements

Fixes #4025
Fixing role variable precedence for top-level roles

Fixes #4026
Fixes #3989
Removing broken tests for now
Revert "Styling: deprecation"

This reverts commit ecc2b6e74257bce09a61cf5f4942fd59ea394dfe.

Fixes #4069
subelements lookup plugin