tower_credential: expect ssh_key_data to be a string instead of path (#45158)

* expect ssh_key_data to be a string instead of path

ssh_key_data should be a string filled with the private key
the old behavior can be archived with a lookup

Fixes #45119

* clarifies ssh_key_data description, adds newline
This commit is contained in:
Meecr0b 2018-09-07 19:41:09 +02:00 committed by Sam Doran
commit 2f6b8591b1
4 changed files with 81 additions and 44 deletions

View file

@ -51,6 +51,9 @@ The following modules will be removed in Ansible 2.12. Please update your playbo
Noteworthy module changes
-------------------------
* The ``tower_credential`` module originally required the ``ssh_key_data`` to be the path to a ssh_key_file.
In order to work like Tower/AWX, ``ssh_key_data`` now contains the content of the file.
The previous behavior can be achieved with ``lookup('file', '/path/to/file')``.
Plugins
=======