ansible/lib/ansible/modules
Benjamin R. Haskell 73a7a0877d Fix Pacman regex for unmatched Arch package name (#48558)
* Fix Pacman regex for unmatched Arch package name

`ansible -m pacman -a upgrade=yes $(hostname)` failed due to not
accounting for the `+` character in the `pacman -Qu` output line:

    libsigc++ 2.10.0-1 -> 2.10.1-1

Per the Arch wiki¹, package names can contain alphanumeric characters,
and any of {`@`, `.`, `_`, `+`, `-`}.

The existing `re` covered `_` (part of `\w` in Python), and `-`
(explicitly included). This change adds `@`, `.`, and `+` (in
ASCII-betical order).

¹: https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_naming

* Add explanation for `pacman -Qu` regex matching

* Remove unneeded non-capturing groups in regex
2019-07-09 20:14:14 -04:00
..
cloud Bug fixes for GCP modules (#58848) 2019-07-09 14:35:35 -04:00
clustering Add apply to k8s module (#49053) 2019-07-08 13:47:41 -07:00
commands Fixed fail_json call in command module (#58615) 2019-07-05 11:00:10 +05:30
crypto openssl_privatekey: forgot to add secp256r1 (#58605) 2019-07-01 23:08:54 +02:00
database postgresql_query module: add autocommit parameter (#58704) 2019-07-04 12:25:51 +02:00
files fix unarchive integration tests when LC_ALL is not set to en_US.UTF-8 (#58431) 2019-06-28 09:47:10 -07:00
identity Fix onepassword lookup plugin and onepassword_facts module when a field has no name. (#58308) 2019-06-28 12:37:14 -04:00
inventory utilities: Clean up parameter types and add seealso (#53063) 2019-03-07 00:25:59 +01:00
messaging Added missing SSL parameters to rabbitmq_binding (#58064) 2019-07-01 07:22:40 -04:00
monitoring Minor typo/language fixes in the documentation (#58856) 2019-07-09 18:15:28 +05:30
net_tools dnsimple: fix missing defaults and doc (#58116) 2019-06-26 13:21:13 +02:00
network New Fortinet's module for fortios_user_device (using new httpapi plugin) (#58291) 2019-07-09 15:53:36 +05:30
notification Adds tls_version argument to mqtt module (#58264) 2019-06-25 15:27:32 +02:00
packaging Fix Pacman regex for unmatched Arch package name (#48558) 2019-07-09 20:14:14 -04:00
remote_management Adding idrac_pwd alias to modules (#57733) 2019-06-14 01:43:21 -04:00
source_control gitlab_runner: Fix idempotency when creating runner (#57833) 2019-06-18 13:12:12 +02:00
storage fixes (#58598) 2019-07-02 17:35:37 -04:00
system Daemonize service start on OpenBSD, fixes #50460 (#58528) 2019-07-09 11:28:10 -04:00
utilities Updated Notes section of the meta (#57921) 2019-06-17 16:33:06 -05:00
web_infrastructure tower_workflow_template: Add missing options (#56891) 2019-06-20 13:55:37 -04:00
windows win_firewall_rule - update doc for remoteport dep. on protocol (#58796) 2019-07-10 05:58:52 +10:00
__init__.py