diff --git a/CHANGELOG.rst b/CHANGELOG.rst new file mode 100644 index 0000000..42a95f8 --- /dev/null +++ b/CHANGELOG.rst @@ -0,0 +1,78 @@ +=========================== +ansible.posix Release Notes +=========================== + +.. contents:: Topics + + +v1.1.1 +====== + +Minor Changes +------------- + +- skippy - fixed the deprecation warning (by date) for skippy callback plugin + +Bugfixes +-------- + +- Fix synchronize to work with renamed docker and buildah connection plugins. + +v1.1.0 +====== + +Minor Changes +------------- + +- firewalld - add firewalld module to ansible.posix collection + +v1.0.0 +====== + +Major Changes +------------- + +- Bootstrap Collection (https://github.com/ansible-collections/ansible.posix/pull/1). + +Minor Changes +------------- + +- CI should use devel (https://github.com/ansible-collections/ansible.posix/pull/6). +- Enable tests for at, patch and synchronize modules (https://github.com/ansible-collections/ansible.posix/pull/5). +- Enabled tags in galaxy.yml (https://github.com/ansible-collections/ansible.posix/issues/18). +- Migrate hacking/cgroup_perf_recap_graph.py to this collection, since the cgroup_perf_recap callback lives here. +- Remove license key from galaxy.yml. +- Remove sanity jobs from shippable (https://github.com/ansible-collections/ansible.posix/pull/43). +- Removed ANSIBLE_METADATA from all the modules. +- Revert "Enable at, patch and synchronize tests (https://github.com/ansible-collections/ansible.posix/pull/5)". +- Update EXAMPLES section in modules to use FQCN. +- Update README.md (https://github.com/ansible-collections/ansible.posix/pull/4/). + +Bugfixes +-------- + +- Allow unsetting existing environment vars via environment by specifying a null value (https://github.com/ansible/ansible/pull/68236). +- Mount - Handle remount with new options (https://github.com/ansible/ansible/issues/59460). +- Profile_tasks - result was a odict_items which is not subscriptable, so the slicing was failing (https://github.com/ansible/ansible/issues/59059). +- Revert "mount - Check if src exists before mounted (ansible/ansible#61752)". +- Typecast results before use in profile_tasks callback (https://github.com/ansible/ansible/issues/69563). +- authorized_keys - Added FIDO2 security keys (https://github.com/ansible-collections/ansible.posix/issues/17). +- authorized_keys - fix inconsistent return value for check mode (https://github.com/ansible-collections/ansible.posix/issues/37) +- json callback - Fix host result to task references in the resultant JSON output for non-lockstep strategy plugins such as free (https://github.com/ansible/ansible/issues/65931) +- mount - fix issues with ismount module_util pathing for Ansible 2.9 (fixes https://github.com/ansible-collections/ansible.posix/issues/21) +- patch - fix FQCN usage for action plugin (https://github.com/ansible-collections/ansible.posix/issues/11) +- selinux - add missing configuration keys for /etc/selinux/config (https://github.com/ansible-collections/ansible.posix/issues/23) +- synchronize - fix FQCN usage for action plugin (https://github.com/ansible-collections/ansible.posix/issues/11) + +New Modules +----------- + +- acl - Set and retrieve file ACL information. +- at - Schedule the execution of a command or script file via the at command +- authorized_key - Adds or removes an SSH authorized key +- mount - Control active and configured mount points +- patch - Apply patch files using the GNU patch tool +- seboolean - Toggles SELinux booleans +- selinux - Change policy and state of SELinux +- synchronize - A wrapper around rsync to make common tasks in your playbooks quick and easy +- sysctl - Manage entries in sysctl.conf. diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml new file mode 100644 index 0000000..3a58d62 --- /dev/null +++ b/changelogs/changelog.yaml @@ -0,0 +1,105 @@ +ancestor: null +releases: + 1.0.0: + changes: + bugfixes: + - Allow unsetting existing environment vars via environment by specifying a + null value (https://github.com/ansible/ansible/pull/68236). + - Mount - Handle remount with new options (https://github.com/ansible/ansible/issues/59460). + - Profile_tasks - result was a odict_items which is not subscriptable, so the + slicing was failing (https://github.com/ansible/ansible/issues/59059). + - Revert "mount - Check if src exists before mounted (ansible/ansible#61752)". + - Typecast results before use in profile_tasks callback (https://github.com/ansible/ansible/issues/69563). + - authorized_keys - Added FIDO2 security keys (https://github.com/ansible-collections/ansible.posix/issues/17). + - authorized_keys - fix inconsistent return value for check mode (https://github.com/ansible-collections/ansible.posix/issues/37) + - json callback - Fix host result to task references in the resultant JSON output + for non-lockstep strategy plugins such as free (https://github.com/ansible/ansible/issues/65931) + - mount - fix issues with ismount module_util pathing for Ansible 2.9 (fixes + https://github.com/ansible-collections/ansible.posix/issues/21) + - patch - fix FQCN usage for action plugin (https://github.com/ansible-collections/ansible.posix/issues/11) + - selinux - add missing configuration keys for /etc/selinux/config (https://github.com/ansible-collections/ansible.posix/issues/23) + - synchronize - fix FQCN usage for action plugin (https://github.com/ansible-collections/ansible.posix/issues/11) + major_changes: + - Bootstrap Collection (https://github.com/ansible-collections/ansible.posix/pull/1). + minor_changes: + - CI should use devel (https://github.com/ansible-collections/ansible.posix/pull/6). + - Enable tests for at, patch and synchronize modules (https://github.com/ansible-collections/ansible.posix/pull/5). + - Enabled tags in galaxy.yml (https://github.com/ansible-collections/ansible.posix/issues/18). + - Migrate hacking/cgroup_perf_recap_graph.py to this collection, since the cgroup_perf_recap + callback lives here. + - Remove license key from galaxy.yml. + - Remove sanity jobs from shippable (https://github.com/ansible-collections/ansible.posix/pull/43). + - Removed ANSIBLE_METADATA from all the modules. + - Revert "Enable at, patch and synchronize tests (https://github.com/ansible-collections/ansible.posix/pull/5)". + - Update EXAMPLES section in modules to use FQCN. + - Update README.md (https://github.com/ansible-collections/ansible.posix/pull/4/). + fragments: + - 11-action-plugins-use-fqcn.yml + - 12_migrate_cgroup_perf_recap_graph.yml + - 14_mount_option.yml + - 15_profile_tasks.yml + - 17_authorized_keys.yml + - 19_enable_tags.yml + - 21-mount-module_util-routing-issue.yml + - 23-selinux-doesnt-create-missing-config-keys.yml + - 25_ansible_metadata.yml + - 26_profile_tasks_doc.yml + - 27_update_examples.yml + - 33_mount.yml + - 35_disable_tests.yml + - 37-authorized_keys-inconsistent-check-mode-values.yml + - 39_remove_license.yml + - 43_remove_shippable.yml + - 4_update_readme.yml + - 5_enable_tests.yml + - 65931-json-callback-non-lockstep-output.yml + - 6_test_devel.yml + - 7_env.yml + - initial_commit.yaml + modules: + - description: Set and retrieve file ACL information. + name: acl + namespace: '' + - description: Schedule the execution of a command or script file via the at command + name: at + namespace: '' + - description: Adds or removes an SSH authorized key + name: authorized_key + namespace: '' + - description: Control active and configured mount points + name: mount + namespace: '' + - description: Apply patch files using the GNU patch tool + name: patch + namespace: '' + - description: Toggles SELinux booleans + name: seboolean + namespace: '' + - description: Change policy and state of SELinux + name: selinux + namespace: '' + - description: A wrapper around rsync to make common tasks in your playbooks quick + and easy + name: synchronize + namespace: '' + - description: Manage entries in sysctl.conf. + name: sysctl + namespace: '' + release_date: '2020-06-19' + 1.1.0: + changes: + minor_changes: + - firewalld - add firewalld module to ansible.posix collection + fragments: + - firewalld_migration.yml + release_date: '2020-07-15' + 1.1.1: + changes: + bugfixes: + - Fix synchronize to work with renamed docker and buildah connection plugins. + minor_changes: + - skippy - fixed the deprecation warning (by date) for skippy callback plugin + fragments: + - 74_synchronize_docker.yml + - skippy_deprecation.yml + release_date: '2020-09-02' diff --git a/changelogs/fragments/.keep b/changelogs/fragments/.keep new file mode 100644 index 0000000..e69de29 diff --git a/docs/ansible.posix.acl_module.rst b/docs/ansible.posix.acl_module.rst index b5b0fe7..07fa743 100644 --- a/docs/ansible.posix.acl_module.rst +++ b/docs/ansible.posix.acl_module.rst @@ -31,217 +31,218 @@ Parameters
yes will make it the default ACL for entities created inside the directory.default to yes causes an error if the path is a file.yes will make it the default ACL for entities created inside the directory.default to yes causes an error if the path is a file.<etype>:<qualifier>:<perms>.- can be used as placeholder when you do not care about permissions.<etype>:<qualifier>:<perms>.- can be used as placeholder when you do not care about permissions.setfacl documentation for more info.setfacl documentation for more info.r, w and x (read, write and execute respectively)r, w and x (read, write and execute respectively)setfacl documentation for more info.state=query.setfacl documentation for more info.state=query.state=query.state=query.query state gets the current ACL without changing it, for use in register operations.query state gets the current ACL without changing it, for use in register operations.key string value by separating them by newlines.with_ , it will be exclusive per iteration of the loop.key in a single batch as mentioned above.key string value by separating them by newlines.with_ , it will be exclusive per iteration of the loop.key in a single batch as mentioned above.yes, the module will create the directory, as well as set the owner and permissions of an existing directory.manage_dir=no if you are using an alternate directory for authorized_keys, as set with path, since you could lock yourself out of SSH access.yes, the module will create the directory, as well as set the owner and permissions of an existing directory.manage_dir=no if you are using an alternate directory for authorized_keys, as set with path, since you could lock yourself out of SSH access.no, the SSL certificates will not be validated.no used on personally controlled sites using self-signed certificates as it avoids verifying the source site.yes.no, the SSL certificates will not be validated.no used on personally controlled sites using self-signed certificates as it avoids verifying the source site.yes.no, the SSL certificates will not be validated.no, the SSL certificates will not be validated.no, immediate is assumed yes.no, immediate is assumed yes.present and absent can only be used in zone level operations (i.e. when no other parameters but zone and state are set).present and absent can only be used in zone level operations (i.e. when no other parameters but zone and state are set).public is default from upstream.block, dmz, drop, external, home, internal, public, trusted, work.public is default from upstream.block, dmz, drop, external, home, internal, public, trusted, work.null and state set to present, it will cease to work and duplicate entries will be made with subsequent runs.null and state set to present, it will cease to work and duplicate entries will be made with subsequent runs./etc/fstab./etc/fstab.present or mounted.present or mounted.null and state set to present, it will cease to work and duplicate entries will be made with subsequent runs.null and state set to present, it will cease to work and duplicate entries will be made with subsequent runs./mnt/files)./mnt/files).present or mounted.present or mounted.mounted, the device will be actively mounted and appropriately configured in fstab. If the mount point is not present, the mount point will be created.unmounted, the device will be unmounted without changing fstab.present only specifies that the device is to be configured in fstab and does not trigger or require a mount.absent specifies that the device mount's entry will be removed from fstab and will also unmount the device and remove the mount point.remounted specifies that the device will be remounted for when you want to force a refresh on the mount itself (added in 2.9). This will always return changed=true. If opts is set, the options will be applied to the remount, but will not change fstab. Additionally, if opts is set, and the remount command fails, the module will error to prevent unexpected mount changes. Try using mounted instead to work around this issue.mounted, the device will be actively mounted and appropriately configured in fstab. If the mount point is not present, the mount point will be created.unmounted, the device will be unmounted without changing fstab.present only specifies that the device is to be configured in fstab and does not trigger or require a mount.absent specifies that the device mount's entry will be removed from fstab and will also unmount the device and remove the mount point.remounted specifies that the device will be remounted for when you want to force a refresh on the mount itself (added in 2.9). This will always return changed=true. If opts is set, the options will be applied to the remount, but will not change fstab. Additionally, if opts is set, and the remount command fails, the module will error to prevent unexpected mount changes. Try using mounted instead to work around this issue.--backup --version-control=numbered to patch, producing numbered backup copies.--backup --version-control=numbered to patch, producing numbered backup copies.dest option is specified, otherwise required.dest option is specified, otherwise required.yes will disable patch's heuristic for transforming CRLF line endings into LF.no, patch will replace CRLF in src files on POSIX.yes will disable patch's heuristic for transforming CRLF line endings into LF.no, patch will replace CRLF in src files on POSIX.yes will ignore white space changes between patch and input..yes will ignore white space changes between patch and input..no, it will search for src at originating/controller machine, if yes it will go to the remote/target machine for the src.no, it will search for src at originating/controller machine, if yes it will go to the remote/target machine for the src.remote_src is 'no', the patch source file is looked up from the module's files directory.remote_src is 'no', the patch source file is looked up from the module's files directory.yes if the boolean setting should survive a reboot.yes if the boolean setting should survive a reboot.targeted) will be required if state is not disabled.targeted) will be required if state is not disabled.dest that don't exist (after transfer, not before) in the src path.recursive=yes.dest that don't exist (after transfer, not before) in the src path.recursive=yes.ansible_ssh_port or ansible_port, the remote_port config setting or the value from ssh client configuration if none of the former have been set.ansible_ssh_port or ansible_port, the remote_port config setting or the value from ssh client configuration if none of the former have been set.~/.ssh/id_rsa).~/.ssh/id_rsa).rsync_opts will end up transfer the current working directory.rsync_opts will end up transfer the current working directory.--rsync-path on the rsync man page.ansible_rsync_path.--rsync-path on the rsync man page.ansible_rsync_path.--timeout for the rsync command in seconds.--timeout for the rsync command in seconds.no.no.yes, performs a /sbin/sysctl -p if the sysctl_file is updated. If no, does not reload sysctl even if the sysctl_file is updated.yes, performs a /sbin/sysctl -p if the sysctl_file is updated. If no, does not reload sysctl even if the sysctl_file is updated.sysctl.conf, if not /etc/sysctl.conf.sysctl.conf, if not /etc/sysctl.conf.