1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-23 09:48:48 +00:00
community.general/lib
Dag Wieers cb78262c18 win_lineinfile: Clean up and check-mode support (#21503)
* win_lineinfile: Clean up and check-mode and diff support

Changes include:
- Use Get-AnsibleParam with -type support
- Replace $result PSObject with normal hash
- Remove trailing semi-colons
- Fix indentation (majority is tabs, few lines using spaces)
- Add check-mode support
- Support `r and `n for CR and LF
- Add diff support

* Implement -WhatIf:$check_mode support

* Keep original formatting as requested
2017-02-23 23:29:11 -08:00
..
ansible win_lineinfile: Clean up and check-mode support (#21503) 2017-02-23 23:29:11 -08:00