Align web_app_pool and web_app_pool_info attributes #12
Closed
Description
SUMMARY
Currently the attributes
option for web_app_pool
flatten the keys for selecting the attribute to set
- name: Manage child element and set identity of application pool
microsoft.iis.web_app_pool:
name: IdentitiyAppPool
state: started
attributes:
managedPipelineMode: Classic
processModel.identityType: SpecificUser
The web_app_pool_info
module returns attributes as a dict structure so would be in the following format
attributes:
managedPipelineMode: Classic
processModel:
identityType: SpecificUser
We should align the behaviours here so that the output of web_app_pool_info
matches the input for web_app_pool
. My suggestion would be to change web_app_pool
to accept a dictionary like the below but happy to talk it through a bit more if there are other ideas.
- name: Manage child element and set identity of application pool
microsoft.iis.web_app_pool:
name: IdentitiyAppPool
state: started
attributes:
managedPipelineMode: Classic
processModel:
identityType: SpecificUser
ISSUE TYPE
- Bug Report
COMPONENT NAME
web_app_pool
web_app_pool_info
ANSIBLE VERSION
N/A
Metadata
Assignees
Labels
No labels