vultr_server: fix diff for user data (#45753)
(cherry picked from commit 22986648dc
)
This commit is contained in:
parent
2c788b6748
commit
0dec6db43f
1 changed files with 2 additions and 2 deletions
|
@ -644,8 +644,8 @@ class AnsibleVultrServer(Vultr):
|
|||
server_user_data = self.get_server_user_data(server=server)
|
||||
if user_data is not None and user_data != server_user_data:
|
||||
self.result['changed'] = True
|
||||
self.result['diff']['before']['tag'] = server_user_data
|
||||
self.result['diff']['after']['tag'] = user_data
|
||||
self.result['diff']['before']['user_data'] = server_user_data
|
||||
self.result['diff']['after']['user_data'] = user_data
|
||||
|
||||
if not self.module.check_mode:
|
||||
data = {
|
||||
|
|
Loading…
Reference in a new issue