community.general/lib/ansible/modules/system
Adam Miller bc7ff83cd9 parted module not idempotent for esp flag and name (#40547)
* parted module not idempotent for esp flag and name

Fixes #40452

Currently the parted module doesn't take into account names with
spaces in them which leads to non-idempotent transactions on the
state of the system because the name comparison will never succeed.

Also, when the esp flag is set, parted infers the boot flag and the
parted module did not previously account for this. This lead to
non-idempotent transactions as well.

Signed-off-by: Adam Miller <admiller@redhat.com>

* fix unit tests, expected command changed in the patch

Signed-off-by: Adam Miller <admiller@redhat.com>
2018-05-23 11:06:26 -04:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
aix_inittab.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
aix_lvol.py Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
alternatives.py Alternatives module: Add a check that the path to the executable exist (#24800) 2017-08-18 15:31:06 -04:00
at.py at: PEP8 compliancy and doc fixes (#30881) 2017-10-30 00:56:54 +01:00
authorized_key.py Address some language in EXAMPLES (#37555) 2018-03-19 13:51:23 -04:00
awall.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
beadm.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
capabilities.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
cron.py Corrects environment variable in example. (#40162) 2018-05-15 17:22:07 -05:00
cronvar.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
crypttab.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
dconf.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
debconf.py Update debconf example (#33397) 2017-11-30 18:07:11 +10:00
facter.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
filesystem.py filesystem tests: update ocfs2 fs size on Trusty 2018-05-17 11:18:18 -04:00
firewalld.py firewalld: amend docs for python3 only hosts (#40048) 2018-05-14 08:38:10 -05:00
gconftool2.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
getent.py getent: PEP8 compliancy and doc fixes (#30885) 2017-10-30 00:58:04 +01:00
gluster_volume.py Module DOCUMENTATION should match argspec (#34895) 2018-01-16 12:18:51 +00:00
group.py added 'local' option to group (#34805) 2018-02-09 01:02:35 -05:00
hostname.py Replace LooseVersion comparison with int/float comparison. Fixes #35435 (#35519) 2018-01-30 15:27:22 -06:00
interfaces_file.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
iptables.py Do not join flag parameters in iptables module (#36658) 2018-05-17 13:53:51 -04:00
java_cert.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
kernel_blacklist.py Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
known_hosts.py Add better error messages and checking to known_hosts (#38307) 2018-05-17 13:53:40 -04:00
locale_gen.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
lvg.py lvg: Allow unit to be specified for pesize (#39666) 2018-05-07 07:50:58 +02:00
lvol.py Fix task description of thinpool examples (#35402) 2018-01-26 18:36:10 +00:00
make.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
mksysb.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
modprobe.py modprobe: PEP8 compliancy and doc fixes (#31255) 2017-10-08 09:21:58 -04:00
mount.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
nosh.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
ohai.py Fix the docs link to Ohai in the Ohai module (#33788) 2018-03-08 17:00:17 -08:00
open_iscsi.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
openwrt_init.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
osx_defaults.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
pam_limits.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
pamd.py Pamd++ (#35709) 2018-05-23 08:24:54 -05:00
parted.py parted module not idempotent for esp flag and name (#40547) 2018-05-23 11:06:26 -04:00
ping.py Clarify which ping module to use (#34935) 2018-01-17 14:02:06 +00:00
puppet.py fixes bug: puppet module is no longer updating persistent external facts (#38026) 2018-03-29 14:54:44 +10:00
runit.py Fixed spelling error in runit module (#35948) 2018-02-10 21:13:55 +05:30
seboolean.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
sefcontext.py Add note about sefcontext doing no restorecon (#39076) 2018-04-25 18:05:03 +02:00
selinux.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
selinux_permissive.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
seport.py Accept list or string for ports is seport module (#36661) 2018-03-13 12:04:27 -04:00
service.py Fixes #29818: chkconfig command is not daemonized, uses run_command() 2018-05-21 12:54:18 -04:00
service_facts.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
setup.py Add fact to obtain iSCSI initiator IQN 2018-03-13 17:39:53 -07:00
solaris_zone.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
svc.py Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
sysctl.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
systemd.py Fix bool notation in systemd (#39064) 2018-04-20 06:44:48 -04:00
sysvinit.py sysvinit service module (#34962) 2018-05-17 17:32:27 -05:00
timezone.py timezone module: fixed timezone identification logic in *BSD (#36715) 2018-05-05 10:26:38 -04:00
ufw.py "route" has to be the first option in ufw command (#31756) 2018-05-11 16:21:27 +01:00
user.py fixes issue 39472: (#40341) 2018-05-17 17:22:40 -04:00
vdo.py Allow block map cache size modification. (#35667) 2018-04-24 16:14:04 -04:00