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
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
Fixing typos in is_keyid function definition and usage

Fixes #4068
Fix for update-rc.d based systems that also have systemd installed

By default, the service module had assumed that if the system had the
update-rc.d binary, the service was either managed via upstart or standard
sysV init-style scripts. This patch adds a check for systemctl ahead
of the other methods when update-rc.d is detected, and also simplifies
the logic around the detection of systemctl-managed services
Minor fix to account for template service names in systemctl
Fix to getchanged correctly for yum groupinstall.
Add an example for installing a group with the yum module.
Check for systemd ownership of a service even if an init.d script exists

Also slight modification to the error message in the earlier commit that
modified the update-rc.d detection portion of the code

Fixes #3474