Skip to content

Commit

Permalink
Re-add fact
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Sep 5, 2021
1 parent ab2107d commit c1e29d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 0 additions & 2 deletions changelogs/fragments/377-ec2_elb_lb-boto3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ minor_changes:
- elb_classic_lb - added support for wait during instance addition and removal (https://github.com/ansible-collections/amazon.aws/pull/377).
- elb_classic_lb - added retries on common AWS temporary API failures (https://github.com/ansible-collections/amazon.aws/pull/377).
- elb_classic_lb - various error messages changed due to refactor (https://github.com/ansible-collections/amazon.aws/pull/377).
breaking_changes:
- elb_classic_lb - no longer returns ansible_facts (https://github.com/ansible-collections/amazon.aws/pull/377).
8 changes: 7 additions & 1 deletion plugins/modules/elb_classic_lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2143,7 +2143,13 @@ def main():
elb = elb_man.get_info()
ec2_result = dict(elb=elb)

module.exit_json(changed=elb_man.changed, **ec2_result)
ansible_facts = {'ec2_elb': 'info'}

module.exit_json(
ansible_facts=ansible_facts,
changed=elb_man.changed,
**ec2_result,
)


if __name__ == '__main__':
Expand Down

0 comments on commit c1e29d2

Please sign in to comment.