Skip to content

Commit

Permalink
Document returned entity in foreman_compute_profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Dellweg authored and mdellweg committed Jul 25, 2020
1 parent 2f3de71 commit 89c7147
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion plugins/modules/compute_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,27 @@
state: absent
'''

RETURN = ''' # '''
RETURN = '''
entity:
description: Final state of the affected entities grouped by their type.
returned: success
type: dict
contains:
compute_profiles:
description: List of compute profiles.
type: list
elements: dict
contains:
id:
description: Database id of the compute profile.
type: int
name:
description: Name of the compute profile.
type: str
compute_attributes:
description: Attributes for this compute profile.
type: list
'''

from ansible_collections.theforeman.foreman.plugins.module_utils.foreman_helper import ForemanEntityAnsibleModule

Expand Down

0 comments on commit 89c7147

Please sign in to comment.