mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
lineinfile note belongs in changelog for 2.6, not 2.7 (#45517)
This commit is contained in:
committed by
John R Barker
parent
e9c2695ce7
commit
228fee4f3a
@@ -27,8 +27,7 @@ Deprecated
|
||||
Modules
|
||||
=======
|
||||
|
||||
Major changes in popular modules are detailed here
|
||||
|
||||
Major changes in popular modules are detailed here:
|
||||
|
||||
|
||||
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 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 ``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.
|
||||
|
||||
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
|
||||
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
|
||||
---------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user