mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
lineinfile note belongs in changelog for 2.6, not 2.7 (#45517)
This commit is contained in:
parent
e9c2695ce7
commit
228fee4f3a
2 changed files with 5 additions and 8 deletions
|
@ -27,8 +27,7 @@ Deprecated
|
||||||
Modules
|
Modules
|
||||||
=======
|
=======
|
||||||
|
|
||||||
Major changes in popular modules are detailed here
|
Major changes in popular modules are detailed here:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Modules removed
|
Modules removed
|
||||||
|
@ -74,6 +73,10 @@ Noteworthy module changes
|
||||||
* The ``k8s`` module will not automatically change ``Project`` creation requests into ``ProjectRequest`` creation requests as the ``openshift_raw`` module did. You must now specify the ``ProjectRequest`` kind explicitly.
|
* The ``k8s`` module will not automatically change ``Project`` creation requests into ``ProjectRequest`` creation requests as the ``openshift_raw`` module did. You must now specify the ``ProjectRequest`` kind explicitly.
|
||||||
* The ``k8s`` module will not automatically remove secrets from the Ansible return values (and by extension the log). In order to prevent secret values in a task from being logged, specify the ``no_log`` parameter on the task block.
|
* The ``k8s`` module will not automatically remove secrets from the Ansible return values (and by extension the log). In order to prevent secret values in a task from being logged, specify the ``no_log`` parameter on the task block.
|
||||||
* The ``k8s_scale`` module now supports scalable OpenShift objects, such as ``DeploymentConfig``.
|
* The ``k8s_scale`` module now supports scalable OpenShift objects, such as ``DeploymentConfig``.
|
||||||
|
* The ``lineinfile`` module was changed to show a warning when using an empty string as a regexp.
|
||||||
|
Since an empty regexp matches every line in a file, it will replace the last line in a file rather
|
||||||
|
than inserting. If this is the desired behavior, use ``'^'`` which will match every line and
|
||||||
|
will not trigger the warning.
|
||||||
* Openstack modules are no longer using ``shade`` library. Instead ``openstacksdk`` is used. Since ``openstacksdk`` should be already present as a dependency to ``shade`` no additional actions are required.
|
* Openstack modules are no longer using ``shade`` library. Instead ``openstacksdk`` is used. Since ``openstacksdk`` should be already present as a dependency to ``shade`` no additional actions are required.
|
||||||
|
|
||||||
Plugins
|
Plugins
|
||||||
|
|
|
@ -145,12 +145,6 @@ Major changes in popular modules are detailed here
|
||||||
:ref:`DEFAULT_SYSLOG_FACILITY`. If you have :ref:`DEFAULT_SYSLOG_FACILITY` configured, the
|
:ref:`DEFAULT_SYSLOG_FACILITY`. If you have :ref:`DEFAULT_SYSLOG_FACILITY` configured, the
|
||||||
location of remote logs on systems which use journald may change.
|
location of remote logs on systems which use journald may change.
|
||||||
|
|
||||||
* The ``lineinfile`` module was changed to show a warning when using an empty string as a regexp.
|
|
||||||
Since an empty regexp matches every line in a file, it will replace the last line in a file rather
|
|
||||||
than inserting. If this is the desired behavior, use ``'^'`` which will match every line and
|
|
||||||
will not trigger the warning.
|
|
||||||
|
|
||||||
|
|
||||||
Modules removed
|
Modules removed
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue