You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ``AnsibleVaultEncryptedUnicode`` type has been replaced by ``EncryptedString``.
640
+
641
+
Plugins which create ``AnsibleVaultEncryptedUnicode`` will now receive ``EncryptedString`` instances instead.
642
+
This feature ensures backward compatibility with previous versions of ``ansible-core``.
643
+
644
+
Plugins which perform ``isinstance`` checks, looking for ``AnsibleVaultEncryptedUnicode``, will no longer encounter these types.
645
+
Values formerly represented by that type will now appear as a tagged ``str`` instead.
646
+
Special handling in plugins is no longer required to access the contents of these values.
647
+
648
+
559
649
Command Line
560
650
============
561
651
@@ -597,6 +687,9 @@ No notable changes
597
687
Plugins
598
688
=======
599
689
690
+
Noteworthy plugin changes
691
+
-------------------------
692
+
600
693
* The ``ssh`` connection plugin now supports using ``SSH_ASKPASS`` to supply passwords
601
694
for authentication as an alternative to the ``sshpass`` program. The default is to use
602
695
``SSH_ASKPASS`` instead of ``sshpass``. This is controlled by the ``password_mechanism``
@@ -622,6 +715,20 @@ Plugins
622
715
623
716
ansible_ssh_password_mechanism: sshpass
624
717
718
+
* Coercing unrecognized input values in the ``bool`` filter is deprecated.
719
+
The ``bool`` filter now returns only ``True`` or ``False``, depending on the input:
720
+
721
+
* ``True`` - Returned for ``True``, ``1`` and case-insensitive matches on the strings: "yes", "on", "true", "1"
722
+
* ``False`` - Returned for ``False``, ``0`` and case-insensitive matches on the strings: "no", "off", "false", "0"
723
+
724
+
Any other input will result in a deprecation warning. This warning will become an error in ``ansible-core`` 2.23.
725
+
726
+
When a deprecation warning is issued, the return value is ``False`` unless the input equals ``1``,
727
+
which can occur when the input is the ``float`` value of ``1.0``.
728
+
729
+
This filter now returns ``False`` instead of ``None`` when the input is ``None``.
730
+
The aforementioned deprecation warning is also issued in this case.
731
+
625
732
626
733
Porting custom scripts
627
734
======================
@@ -634,6 +741,49 @@ Networking
634
741
635
742
No notable changes
636
743
744
+
Porting Guide for v12.0.0a2
745
+
===========================
746
+
747
+
Known Issues
748
+
------------
749
+
750
+
community.general
751
+
~~~~~~~~~~~~~~~~~
752
+
753
+
- reveal_ansible_type filter plugin and ansible_type test plugin - note that ansible-core's Data Tagging feature implements new aliases, such as ``_AnsibleTaggedStr`` for ``str``, ``_AnsibleTaggedInt`` for ``int``, and ``_AnsibleTaggedFloat`` for ``float`` (https://github.com/ansible-collections/community.general/pull/9833).
754
+
755
+
Major Changes
756
+
-------------
757
+
758
+
grafana.grafana
759
+
~~~~~~~~~~~~~~~
760
+
761
+
- Add tempo role by @CSTDev in https://github.com/grafana/grafana-ansible-collection/pull/323
762
+
- Do not log grafana.ini contents when setting facts by @root-expert in https://github.com/grafana/grafana-ansible-collection/pull/325
763
+
- Fix loki_operational_config section not getting rendered in config.yml by @olegkaspersky in https://github.com/grafana/grafana-ansible-collection/pull/330
764
+
- Fix sectionless items edge case by @santilococo in https://github.com/grafana/grafana-ansible-collection/pull/303
765
+
- Fix tags Inherit default vars by @MJurayev in https://github.com/grafana/grafana-ansible-collection/pull/341
766
+
- Fix the markdown code fences for install command by @benmatselby in https://github.com/grafana/grafana-ansible-collection/pull/306
767
+
- Grafana fix facts in main.yml by @voidquark in https://github.com/grafana/grafana-ansible-collection/pull/315
768
+
- Make dashboard imports more flexible by @torfbolt in https://github.com/grafana/grafana-ansible-collection/pull/308
769
+
- force temporary directory even in check mode for dashboards.yml by @cmehat in https://github.com/grafana/grafana-ansible-collection/pull/339
770
+
- integrate sles legacy init-script support by @floerica in https://github.com/grafana/grafana-ansible-collection/pull/184
771
+
- management of the config.river with the conversion of the config.yaml by @lbrule in https://github.com/grafana/grafana-ansible-collection/pull/149
772
+
773
+
Deprecated Features
774
+
-------------------
775
+
776
+
community.general
777
+
~~~~~~~~~~~~~~~~~
778
+
779
+
- manifold lookup plugin - plugin is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/10028).
780
+
- stackpath_compute inventory plugin - plugin is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/10026).
781
+
782
+
community.vmware
783
+
~~~~~~~~~~~~~~~~
784
+
785
+
- vmware_dvs_portgroup - ``mac_learning`` is deprecated in favour of ``network_policy.mac_learning`` (https://github.com/ansible-collections/community.vmware/pull/2360).
786
+
637
787
Porting Guide for v12.0.0a1
638
788
===========================
639
789
@@ -878,6 +1028,8 @@ Ansible-core
878
1028
- ``ansible.module_utils.compat.datetime`` - The datetime compatibility shims are now deprecated. They are scheduled to be removed in ``ansible-core`` v2.21. This includes ``UTC``, ``utcfromtimestamp()`` and ``utcnow`` importable from said module (https://github.com/ansible/ansible/pull/81874).
879
1029
- bool filter - Support for coercing unrecognized input values (including None) has been deprecated. Consult the filter documentation for acceptable values, or consider use of the ``truthy`` and ``falsy`` tests.
880
1030
- cache plugins - The `ansible.plugins.cache.base` Python module is deprecated. Use `ansible.plugins.cache` instead.
1031
+
- callback plugins - The `v2_on_any` callback method is deprecated. Use specific callback methods instead.
1032
+
- callback plugins - The v1 callback API (callback methods not prefixed with `v2_`) is deprecated. Use `v2_` prefixed methods instead.
881
1033
- conditionals - Conditionals using Jinja templating delimiters (e.g., ``{{``, ``{%``) should be rewritten as expressions without delimiters, unless the entire conditional value is a single template that resolves to a trusted string expression. This is useful for dynamic indirection of conditional expressions, but is limited to trusted literal string expressions.
882
1034
- config - The ``ACTION_WARNINGS`` config has no effect. It previously disabled command warnings, which have since been removed.
883
1035
- config - The ``DEFAULT_JINJA2_NATIVE`` option has no effect. Jinja2 native mode is now the default and only option.
0 commit comments