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
create replace action plugin; remove replace module. #62150
base: devel
Are you sure you want to change the base?
create replace action plugin; remove replace module. #62150
Conversation
The test
The test
The test
The test
The test
The test
The test
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
instead of replacing replace, maybe a new name? (alter, displace, substitute, supplant, translate?) |
The test
The test
The test
|
SUMMARY
Converts the
replace
(linux-only) module to an Action Plugin to provide cross-platform compatibility.It adopts a similar approach as the
template
module, where the actual logic is executed on the Ansible Control server.First, the referenced file is copied from the remote host to the ACS, then the replace operation is executed, and then the new file is copied back if there was a change
This Action Plugin works "as is"; however, I'm aware that I'm missing the .py
moudle
files, and probably other requisite docs / changes, so I'm opening this as a draft pull request so as to welcome changes / corrections.ISSUE TYPE
COMPONENT NAME
replace