mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
adding tags support to postgresql (#45339)
This commit is contained in:
parent
d4ce1b9f31
commit
0b029d6792
4 changed files with 58 additions and 23 deletions
|
@ -124,6 +124,10 @@ servers:
|
|||
returned: always
|
||||
type: str
|
||||
sample: postgreabdud1223.postgres.database.azure.com
|
||||
tags:
|
||||
description: Tags assigned to the resource. Dictionary of string:string pairs.
|
||||
type: dict
|
||||
sample: { tag1: abc }
|
||||
'''
|
||||
|
||||
from ansible.module_utils.azure_rm_common import AzureRMModuleBase
|
||||
|
@ -217,7 +221,8 @@ class AzureRMServersFacts(AzureRMModuleBase):
|
|||
'enforce_ssl': (d['ssl_enforcement'] == 'Enabled'),
|
||||
'admin_username': d['administrator_login'],
|
||||
'user_visible_state': d['user_visible_state'],
|
||||
'fully_qualified_domain_name': d['fully_qualified_domain_name']
|
||||
'fully_qualified_domain_name': d['fully_qualified_domain_name'],
|
||||
'tags': d.get('tags')
|
||||
}
|
||||
|
||||
return d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue