- Added a more verbose response
- includes its settable attributes and a list of its instances.
- allows setting of tags, changes upon which mark the task changed
- allow getting of information from asg module, not just setting
- doesn't mark changed if the parameter wasn't specified
- Availability Zones are pulled from the region
Looks like #6881 is also affected by this bug.
Currently when using lineinfile insertafter=EOF for a file that has no newline then the added line is not prefixed with a newline.
As a concrete example, ubuntu distro default /etc/ssh/sshd_config has no newline so lineinfile module cannot be used to add a new line to the end of the file.
This is different wording for using the PPA to install. I also added the installation of apt-add-repository package which isn't always installed.
(I'm a newbie but while running these I wished whatever style was being used on the docs pages would have let me cut and paste the commands without having to edit out the $ characters manually....)
For networks that have both a v4 and a v6 subnet, the floating IP plugin
currently has two problems:
* When determining the subnet for the provided `internal_network_name`, it
assumes that the first item in the list of subnets is the one you want.
Instead, it should pick the first v4 subnet.
* When multiple fixed IP's exist for a given port (as is the case in a network
a v4 and a v6 subnet), neutron needs a hint as to which fixed IP to associate
to the floating IP address (the v4 one).
* Fixed error messages to be more descriptive
* Removed direct use of subprocess module and replaced it with calls
to module.run_command
* Changed AZURE_MANAGEMENT_CERT_PATH to be just AZURE_CERT_PATH, which
matches what is expected by the inventory script
Having an uptime fact allows you to check after a reboot whether the system was effectively rebooted.
```yaml
- name: Safeguard - Was system properly rebooted ?
action: fail msg="System was not properly rebooted"
when: ansible_uptime > 900
```
This patch has been tested on Linux, Solaris and HP-UX.