Mostly for reference: What to do with cross-site duplicates?
Now according to your comment (split on 3 points to address all of them):
Comment from the mod pointing to the SE policy against cross posting and asking them to voluntarily delete one of them.
You already did it, mods are here to be exception handling for things the community can't solve alone or to enforce the community decisions. There's no reason to pile up another comment after yours which is absolutely clear.
Or deciding which site is the better fit for the question and closing it on the other site.
We're mod on only one site (well usually, some are mods on multiples sites), on others we're just users as you, as per the reference above there's no real reason to close a question when it is on topic on both. (cross posting is not a close reason).
Could also look at where the active conversation is happening and close the question on other sites.
Same as above, I don't see any reason to close one over the other, leaving a comment if you're so inclined to point to another site where there's an answer is also ok. (Or as you did, answer on both site)
For the specific question, if it was necessary to something I'd vote to migrate the SO version to Devops.Se to be closed as duplicate.
This is my personnal point of view on the subject and in no way a hard binding. If the community disagree I'll review my actions on this kind of flags accordingly.