microsoft / azure-pipelines-extensions

Collection of all RM and deployment extensions
http://www.visualstudio.com/explore/release-management-vs
MIT License
275 stars 425 forks source link

Migrate Ansible to Node 16 #1120

Open Pranshu-Negi opened 1 year ago

Pranshu-Negi commented 1 year ago

Reviewers and contributors, please follow the migration to node16 guide we have for in-the-box ADO tasks: https://github.com/microsoft/azure-pipelines-tasks/blob/master/docs/migrateNode16.md

This PR is not ready to be merged, it is just a starting point to help contributors start.

The Node 16 migration guide is created keeping in mind that the in-the-box ADO tasks were already migrated to Node 10. In order to ensure smooth migration to Node 16, we need to ensure that the task can be run using a Node 10 handler as well. Please refer to the following guide for the same: https://github.com/microsoft/azure-pipelines-tasks/blob/master/docs/migrateNode10.md

Since vsts-task-lib is deprecated, it should be replaced by azure-pipelines-task-lib. Similarly vso-node-api should be replaced with azure-devops-node-api.

Please be sure to retest on node 10 and16 thoroughly.