-
Notifications
You must be signed in to change notification settings - Fork 24k
create replace action plugin; remove replace module. #62150
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
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
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@crossan007 Are you still working on this? Thanks |
@Akasurde I'm no longer working on this. |
@crossan007 I will go ahead and close this PR then. Please feel free to open a new PR if you want to work on this. Thanks for the contribution. |
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