Backport/2.6/44902 (#44921)

* Update lightsail.py

(cherry picked from commit dc8307a063e38cb5fd5cb0431f0824b0906ef59e)

* correct example code for AWS lightsail

* Move changelog to correct location

* Update CHANGELOG-v2.6.rst
This commit is contained in:
Adam 2018-08-31 05:40:16 +10:00 committed by Alicia Cozine
parent 545d0eda17
commit 2b859d218d
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,3 @@
---
bugfixes:
- fix example code for AWS lightsail documentation

View file

@ -82,7 +82,7 @@ EXAMPLES = '''
msg: "Name is {{ my_instance.instance.name }}"
- debug:
msg: "IP is {{ my_instance.instance.publicIpAddress }}"
msg: "IP is {{ my_instance.instance.public_ip_address }}"
# Delete an instance if present
- lightsail: