provider: Fix idempotence by retrieving full provider bedore editing it

This commit is contained in:
nemunaire 2023-04-13 17:16:25 +02:00
parent 4e11e35ec7
commit 9422b20320
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ def main():
for s in providers:
if s._srctype == p['type'] and s._comment == p['name']:
s = a.provider_get(s._id)
found = True
if p['state'] == 'absent':