Skip to content

Commit

Permalink
Merge pull request #363 from saito-hideki/release_1.4.0
Browse files Browse the repository at this point in the history
Release 1.4.0 commit

SUMMARY
Release 1.4.0 commit
ISSUE TYPE

Feature Pull Request

COMPONENT NAME

ansible.posix

ADDITIONAL INFORMATION
None

Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: Felix Fontein <[email protected]>
  • Loading branch information
softwarefactory-project-zuul[bot] authored May 23, 2022
2 parents 00a22a5 + ab3bf45 commit 2d3f55c
Show file tree
Hide file tree
Showing 30 changed files with 114 additions and 70 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,34 @@ ansible.posix Release Notes
.. contents:: Topics


v1.4.0
======

Release Summary
---------------

This is the minor release of the ``ansible.posix`` collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of ``ansible.posix`` 1.3.0.

Minor Changes
-------------

- firewalld - Show warning message that variable type of ``masquerade`` and ``icmp_block_inversion`` will be changed from ``str`` to ``boolean`` in the future release (https://github.com/ansible-collections/ansible.posix/pull/254).
- selinux - optionally update kernel boot params when disabling/re-enabling SELinux (https://github.com/ansible-collections/ansible.posix/pull/142).

Bugfixes
--------

- Fix for whitespace in source full path causing error ```code 23) at main.c(1330) [sender=3.2.3]``` (https://github.com/ansible-collections/ansible.posix/pull/278)
- Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``.
- Use vendored version of ``distutils.version`` instead of the deprecated Python standard library to address PEP 632 (https://github.com/ansible-collections/ansible.posix/issues/303).
- firewalld - Correct usage of queryForwardPort (https://github.com/ansible-collections/ansible.posix/issues/247).
- firewalld - Refine the handling of exclusive options (https://github.com/ansible-collections/ansible.posix/issues/255).
- mount - add a newline at the end of line in ``fstab`` (https://github.com/ansible-collections/ansible.posix/issues/210).
- profile_tasks - Correctly calculate task execution time with serial execution (https://github.com/ansible-collections/ansible.posix/issues/83).
- seboolean - add ``python3-libsemanage`` package dependency for RHEL8+ systems.

v1.3.0
======

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ An Ansible Collection of modules and plugins that target POSIX UNIX/Linux and de

This collection has been tested against following Ansible versions: **>=2.9**.

For collections that support Ansible 2.9, please ensure you update your `network_os` to use the
fully qualified collection name (for example, `cisco.ios.ios`).
Plugins and modules within a collection may be tested with only specific Ansible versions.
A collection may contain metadata that identifies these versions.
PEP440 is the schema used to describe the versions of Ansible.
Expand Down
50 changes: 50 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,53 @@ releases:
- synchronize.yml
- test_matrix.yml
release_date: '2021-08-11'
1.4.0:
changes:
bugfixes:
- Fix for whitespace in source full path causing error ```code 23) at main.c(1330)
[sender=3.2.3]``` (https://github.com/ansible-collections/ansible.posix/pull/278)
- Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``.
- Use vendored version of ``distutils.version`` instead of the deprecated Python
standard library to address PEP 632 (https://github.com/ansible-collections/ansible.posix/issues/303).
- firewalld - Correct usage of queryForwardPort (https://github.com/ansible-collections/ansible.posix/issues/247).
- firewalld - Refine the handling of exclusive options (https://github.com/ansible-collections/ansible.posix/issues/255).
- mount - add a newline at the end of line in ``fstab`` (https://github.com/ansible-collections/ansible.posix/issues/210).
- profile_tasks - Correctly calculate task execution time with serial execution
(https://github.com/ansible-collections/ansible.posix/issues/83).
- seboolean - add ``python3-libsemanage`` package dependency for RHEL8+ systems.
minor_changes:
- firewalld - Show warning message that variable type of ``masquerade`` and
``icmp_block_inversion`` will be changed from ``str`` to ``boolean`` in the
future release (https://github.com/ansible-collections/ansible.posix/pull/254).
- selinux - optionally update kernel boot params when disabling/re-enabling
SELinux (https://github.com/ansible-collections/ansible.posix/pull/142).
release_summary: 'This is the minor release of the ``ansible.posix`` collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of ``ansible.posix`` 1.3.0.'
fragments:
- 1.4.0.yml
- 211_fstab_append_newline.yml
- 247_firewalld.yml
- 254_variable_warnings.yml
- 255_authorized_key_url.yml
- 263_profile_tasks_with_serial.yml
- 272-copy_ignore_txt.yml
- 277_fix_integration_test_on_devel.yml
- 282_fix_unit_test_for_synchronize.yml
- 287_firewalld_requirements.yml
- 288_mounts_options.yml
- 297_firewalld_exclusive_options_handling.yml
- 299_seboolean_python3.yml
- 302_shippable_exit_code.yml
- 304_pep632.yml
- 346_copy_ignore_txt_for_devel.yml
- 347_add_branch_213.yml
- 349_follow_new_guidelines.yml
- 353_ci_fix_unittest_for_synchronize.yml
- disable_selinux_via_kernel_cmdline.yml
- psf-license.yml
- sanity_fixes.yml
- shell_escape_full_path_for_rsync.yml
release_date: '2022-05-23'
3 changes: 0 additions & 3 deletions changelogs/fragments/211_fstab_append_newline.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/247_firewalld.yml

This file was deleted.

5 changes: 0 additions & 5 deletions changelogs/fragments/254_variable_warnings.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/255_authorized_key_url.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/263_profile_tasks_with_serial.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/272-copy_ignore_txt.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/277_fix_integration_test_on_devel.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/282_fix_unit_test_for_synchronize.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/287_firewalld_requirements.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/288_mounts_options.yml

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/299_seboolean_python3.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/302_shippable_exit_code.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/304_pep632.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/346_copy_ignore_txt_for_devel.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/347_add_branch_213.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/349_follow_new_guidelines.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/353_ci_fix_unittest_for_synchronize.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/disable_selinux_via_kernel_cmdline.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/psf-license.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/sanity_fixes.yml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/shell_escape_full_path_for_rsync.yml

This file was deleted.

6 changes: 6 additions & 0 deletions docs/ansible.posix.authorized_key_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ Examples
state: present
key: https://github.com/charlie.keys
- name: Set authorized keys taken from url using lookup
ansible.posix.authorized_key:
user: charlie
state: present
key: "{{ lookup('url', 'https://github.com/charlie.keys', split_lines=False) }}"
- name: Set authorized key in alternate location
ansible.posix.authorized_key:
user: charlie
Expand Down
2 changes: 2 additions & 0 deletions docs/ansible.posix.firewalld_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Requirements
The below requirements are needed on the host that executes this module.

- firewalld >= 0.2.11
- python-firewall >= 0.2.11


Parameters
Expand Down Expand Up @@ -401,6 +402,7 @@ Notes
- Requires the python2 bindings of firewalld, which may not be installed by default.
- For distributions where the python2 firewalld bindings are unavailable (e.g Fedora 28 and later) you will have to set the ansible_python_interpreter for these hosts to the python3 interpreter path and install the python3 bindings.
- Zone transactions (creating, deleting) can be performed by using only the zone and state parameters "present" or "absent". Note that zone transactions must explicitly be permanent. This is a limitation in firewalld. This also means that you will have to reload firewalld after adding a zone that you wish to perform immediate actions on. The module will not take care of this for you implicitly because that would undo any previously performed immediate actions which were not permanent. Therefore, if you require immediate access to a newly created zone it is recommended you reload firewalld immediately after the zone creation returns with a changed state and before you perform any other immediate, non-permanent actions on that zone.
- This module needs ``python-firewall`` or ``python3-firewall`` on managed nodes. It is usually provided as a subset with ``firewalld`` from the OS distributor for the OS default Python interpreter.



Expand Down
8 changes: 4 additions & 4 deletions docs/ansible.posix.mount_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Parameters
</div>
</td>
<td>
<b>Default:</b><br/><div style="color: blue">0</div>
<b>Default:</b><br/><div style="color: blue">"0"</div>
</td>
<td>
<div>Dump (see fstab(5)).</div>
Expand Down Expand Up @@ -153,7 +153,7 @@ Parameters
</div>
</td>
<td>
<b>Default:</b><br/><div style="color: blue">0</div>
<b>Default:</b><br/><div style="color: blue">"0"</div>
</td>
<td>
<div>Passno (see fstab(5)).</div>
Expand Down Expand Up @@ -295,15 +295,15 @@ Examples
ansible.posix.mount:
src: 192.168.1.100:/nfs/ssd/shared_data
path: /mnt/shared_data
opts: rw,sync,hard,intr
opts: rw,sync,hard
state: mounted
fstype: nfs
- name: Mount NFS volumes with noauto according to boot option
ansible.posix.mount:
src: 192.168.1.100:/nfs/ssd/shared_data
path: /mnt/shared_data
opts: rw,sync,hard,intr
opts: rw,sync,hard
boot: no
state: mounted
fstype: nfs
Expand Down
1 change: 1 addition & 0 deletions docs/ansible.posix.seboolean_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The below requirements are needed on the host that executes this module.

- libselinux-python
- libsemanage-python
- python3-libsemanage


Parameters
Expand Down
21 changes: 21 additions & 0 deletions docs/ansible.posix.selinux_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,27 @@ Parameters
<div>The SELinux mode.</div>
</td>
</tr>
<tr>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
<b>update_kernel_param</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">boolean</span>
</div>
<div style="font-style: italic; font-size: small; color: darkgreen">added in 1.4.0</div>
</td>
<td>
<ul style="margin: 0; padding: 0"><b>Choices:</b>
<li><div style="color: blue"><b>no</b>&nbsp;&larr;</div></li>
<li>yes</li>
</ul>
</td>
<td>
<div>If set to <em>true</em>, will update also the kernel boot parameters when disabling/enabling SELinux.</div>
<div>The <code>grubby</code> tool must be present on the target system for this to work.</div>
</td>
</tr>
</table>
<br/>

Expand Down

0 comments on commit 2d3f55c

Please sign in to comment.