You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/changelogs/fragments
Vlad Mencl 83194a0a99 module/systemd: fix logic determining if a service needs to be enable… (#46318)
* module/systemd: fix logic determining if a service needs to be enabled (#46245)

* modules/systemd: fix logic: allow scope to default to 'system'

Fix logic introduced in 7ea909418e5: if 'scope' param is not specified,
it defaults to system, but the value of module.params['scope'] is None,
not 'system' - so allow for that.

* modules/systemd: fix logic: disabled means disabled

Fix logic determining whether a service with both systemd and initd files is enabled or disabled.

In situations where systemd thinks service is disabled, but rc.d symlinks mark it as enabled,
this module wrongly assumes the service is enabled.

Fix this logic: disabled means disabled

Only when the output from does NOT include disabled, consider the status of rc.d symlinks.

This essentially replicates the fixes done to the systemd handling in the "service" module in 3c89a21e0c

Fixes #22303

Fixes #44409

(cherry picked from commit ef131c7556)

* backport/2.7/46245: add changelog fragment
6 years ago
..
16748-docker_container-memory.yaml [2.7] docker_*: changelogs (#45056) 6 years ago
32738-native-jinja-types.yaml Add changelog for Jinja2 native types (#44309) 6 years ago
33156-vmware_guest-resource_pool.yaml VMware: Rewrite get_resource_pool method for correct resource_pool selection (#39792) 6 years ago
33579-docker_container-log_driver.yaml [2.7] docker_*: changelogs (#45056) 6 years ago
34863-rabbitmq_user_unpack_fix.yaml Ignore empty result of rabbitmqctl list_user_permissions (#35598) 6 years ago
35120-redis_inventory_plugin_flush_cache.yaml Only delete key from redis in-memory cache if present (#35126) 6 years ago
42042-inventory_with_no_region.yaml fixes #42042 (#42939) 6 years ago
42170-acme-backend-selection.yaml ACME: use Cryptography (if a new enough version is available) instead of OpenSSL (#42170) 6 years ago
42380-docker_container-check-mode.yaml [2.7] docker_*: changelogs (#45056) 6 years ago
42456-consul_kv-lookup.yaml Backport/2.7/42456 - Added SSL Support to consul_kv lookup plugin (#46466) 6 years ago
42641-44812-docker-env-variables.yaml [2.7] docker_*: changelogs (#45056) 6 years ago
42647-win_updates.yaml return wu result from inner job (#42647) 6 years ago
42669-add_ssl_zabbix_inventory.yaml Zabbix inventory improvement (#42669) 6 years ago
42857-docker_container-working_dir.yaml [2.7] docker_*: changelogs (#45056) 6 years ago
43024-nclu-empty-net-commands.yaml NCLU Module: Improve performance by not operating on empty lines (#43024) 6 years ago
43931-strip-trailing-comments.yml Strip trailing comments from /etc/default/passwd (#43931) 6 years ago
44500-win_domain_computer.yaml Module win_domain_computer fix delete computer with child (#44500) 6 years ago
44508-win_lineinfile.yaml Switch to LiteralPath instead of Path. Closes #44508 (#44509) 6 years ago
44552-mail-py370-compat.yml Fix mail module for python 3.7.0 (#44550) (#44552) 6 years ago
44755-win_nssm_fixes.yaml win_nssm: add changelog fragment 6 years ago
44808-docker_container-idempotency.yaml [2.7] docker_*: changelogs (#45056) 6 years ago
45226-vmware_wait_for_ip_address.yaml VMware: honor "wait_for_ip_address" when powering on a VM (#45226) 6 years ago
45501-get_url-better_checksums.yaml [backport-2.7] Fix remote checksums when paths have leading dots (#45287) (#45501) 6 years ago
45543-rabbitmq_bindings-fix-quote.yaml [rabbitmq_binding] Fix the quoting of vhost and other names (#45109) 6 years ago
45628-fetch_url-error-headers.yaml Fixing HTTPError case of fetch_url for Python 3 compatibility. (#45628) 6 years ago
45700-docker_container-dont-parse-absent.yml [2.7] docker_container: don't parse/interpret options if state is 'absent' (#45769) 6 years ago
45712-45753-vultr-timeout.yml add changelog fragment 6 years ago
46049-route53-caa-ordering.txt [2.7] route53: fix CAA record ordering for idempotency (#46227) 6 years ago
46115-46035-cs_instance-fixes.yml [2.7] backport cs_instance fixes (#46274) 6 years ago
46245-systemd-fix-service-enable-logic.yaml module/systemd: fix logic determining if a service needs to be enable… (#46318) 6 years ago
46322-docker_container-image-not-given.yaml docker_container: fix behavior when image is not specified (#46322) 6 years ago
add_file_lock_feature.yaml Simple file locking feature (#42024) 6 years ago
add_random_mac_filtter.yaml Add random_mac string filter (#39775) 7 years ago
admin-users-default-change.yaml Make admin_users only contain root and toor because admin is used for non-privileged accounts 7 years ago
ajson-nested-decode.yaml [stable-2.7] Support nested JSON decoding in AnsibleJSONDecoder (#45924) 6 years ago
alternative_facts.yml fix alt linux detection for new versions (#43723) 6 years ago
ansiballz_one_interpreter.yml AnsiballZ improvements 6 years ago
ansiballz_streamline_imports.yaml Remove an unnecessary import from the ansiballz wrapper (#41747) 7 years ago
ansible-connection-cleanup-when-failed.yaml [2.7] Clean up after ansible-connection if failure occurred in start() (#45930) 6 years ago
any_unparsed_is_failed.yaml Introduce inventory.any_unparsed_is_failed configuration setting (#41171) 7 years ago
authorized_key_symlinks.yaml authorized_key 29891 use os.path.realpath to follow keyfile symlinks (#40417) 6 years ago
avoid_cwd_vars.yml avoid loading vars on unspecified basedir (cwd) (#42067) 6 years ago
aws_bugfix_backports.yml Changelog for AWS bugfixes (#45319) 6 years ago
aws_caller_facts_add_account_alias.yaml added account_alias in the response of module aws_caller_facts (#42345) 6 years ago
aws_cloudfront_distribution_fix_nonexistent_method_name.yaml [aws] cloudfront_distribution - fix method name, backport/2.7/45498 (#45512) 6 years ago
aws_core_is_boto3_error_code.yml Add AWS boto3 error code exception function is_boto3_error_code (#41202) 7 years ago
aws_rds_inventory_plugin_added.yaml RDS inventory plugin (#41919) 6 years ago
aws_s3_async_fix.yaml Fix async for aws_s3 - fixes #40281 (#40826) 7 years ago
aws_s3_decryption_fix.yaml aws_s3: don't decrypt file before uploading - fixes #39287 (#39634) 7 years ago
aws_s3_fix_custom_endpoints.yaml [aws] Remove walrus conditional in aws_s3 module when using custom s3_url (#36832) 7 years ago
azure-storage-cloud-environment.yaml Cherrypick stable2.7 44802 (#45332) 6 years ago
azure-version.yaml azure_rm_common: use __version__ from module_util (#46184) 6 years ago
azure_autoscale.yaml Backport: fix the autoscale resource id #45477 (#45532) 6 years ago
azure_rm_deployment_fix_45941.yaml fix premature exit when RG doesn't exist (#46013) 6 years ago
basic_booleans_backward_compat.yaml Restore BOOLEANS import in basic.py (#42008) 6 years ago
batch_mode_elasticsearch_plugin.yaml Add the possiblity to force a plugin installation (#41688) 6 years ago
blockdoc.yml improved block docs (#43611) 6 years ago
blockinfile-bytes-fix.yaml Use bytes rather than native string for result (#46281) 6 years ago
callback_plugin_merge.yml Merge various stdout callback plugins into 'default' (#41058) 6 years ago
cb_fix_config.yml Fix callback config typos (#45316) 6 years ago
clarify_error_message.yml better error messasge (#42770) 6 years ago
cleanup__file__.yaml Port modules away from __file__ 6 years ago
command_shell_check_mode.yaml Enable check_mode in command module (#40428) 6 years ago
connection_reset.yaml changed winrm _reset to reset and make ssh reset show warning (#42651) 6 years ago
console_color.yml Allow to specifically customize console's color 6 years ago
dd-put-empty-files.yaml [stable-2.7] Support transfering empty files to target host. Fixes #36725 (#45751) 6 years ago
deepcopy-alternative.yaml Don't use copy.deepcopy in high workload areas, use naive_deepcopy (#44337) 6 years ago
delegate-to-get-vars-no-task.yaml ensure if we get a non-Task object in _get_delegated_vars, we return early (#44934) 6 years ago
deprecated-__file__.yaml AnsiballZ improvements 6 years ago
dnf-group-removal.yaml Improve dnf group output for clarity 6 years ago
docker-default-ssl.yml Fix ssl_version default value. (#42955) 6 years ago
docker_container-idempotency.yaml docker_container: fix various idempotency problems and non-working options (#45905) 6 years ago
drop-python-2.6-controller.yaml Add note to the porting guide about why we're dropping python-2.6 controller support 6 years ago
ec2-facts.yaml Remove deprecated ec2_facts (#44536) 6 years ago
ec2_group_diff_mode_support.yml Add diff mode for ec2_group (#44533) 6 years ago
ec2_group_fix_target_containing_list_within_list.yaml ec2_group: fix regression for targets that are a list containing strings and lists (#45594) 6 years ago
ec2_vpc_route_table_replace_route_fix.yaml ec2_vpc_route_table - allow routes to be created if the CIDR already … (#45178) 6 years ago
elasticsearch_plugin-showSTDERRonFailure.yaml elasticsearch_plugin - Show STDERR on module failures. (#41954) 6 years ago
elb_application_lb_fix_state_default.yml Fix dangerous elb_application_lb state (#44646) 6 years ago
elb_target_group_fix_KeyError.yaml elb_target_group - prevent a KeyError exception (#45169) 6 years ago
ensure_text_source.yaml ensure 'text' source assumptions (#42522) 6 years ago
env_inject.yml handle env exception in gathering even no inject (#43569) 6 years ago
file_attributes.yaml Remove extra line in file_attributes.yaml 7 years ago
file_touch_check_mode.yaml Fix file module with check_mode - Fixes #42111 (#42115) 6 years ago
file_touch_diff.yaml Fix file state=touch not returning diff information 7 years ago
fips_md5_import.yaml basic.py: catch ValueError when trying to import hash algorithms (#44551) 6 years ago
fix-255-exit-code.yaml Separate some 255 exit codes that are not ssh errors 6 years ago
fix-config-from-environment.yaml Normalize config from environment as text strings 6 years ago
fix-open-url.yml Only assume GET if no data, otherwise POST (#43133) 6 years ago
fix-os_router.yaml Add missing changelog for PR #44418 (#44478) 6 years ago
fix-selectors-error-condition.yaml Fix the local and ssh plugins for a cornercase retrying a syscall 6 years ago
fix-swap-mount-module.yaml Fix for creation and removal of swap record in fstab (fixes #42706, #31437 and #30090) (#42837) 6 years ago
fix-world-readable-skip-message.yaml Make links anonymous so that they don't trigger rstcheck 6 years ago
fix_calling_deprecate_with_correct_arguments.yaml Fix calling deprecate with correct arguments (#44726) 6 years ago
fix_ec2_group_target_vpc_precedence.yaml [2.7] ec2_group - fix VPC precedence for security group targets (#45787) (#45815) 6 years ago
fix_no_log_loop.yml fix tempating issues with no_log and loops (#44468) 6 years ago
fix_nxos_facts_indefinite_hang.yaml [2.7]fix nxos_facts indefinite hang for text based output (#45846) 6 years ago
flatten-better-type-check.yml Use newer is_sequence function instead of MutableSequence (#44331) 6 years ago
from_yaml_all_filter_plugin.yaml Add from_yaml_all to support multi document yaml strings (#43037) 6 years ago
ftd-http-api-plugin-refresh-token.yaml [stable-2.7] Store Authorization header inside HttpApi connection plugin (#45598) (#45608) 6 years ago
galaxy_list_all_roles.yaml Pass path to GalaxyRole object (#43051) 6 years ago
gce-sort-fix.yaml Add changelog for gce_net sort fix 7 years ago
gcp_service_account_home_path.yaml Allow home path expansion on GCP service account files (#44863) 6 years ago
get-url-fix-idempotency.yaml [stable-2.7] Fix logic to not re-download existing files when force=no (#45495) (#45509) 6 years ago
get_url-remove-fragile-code.yaml Improve code stability is checksum checking 6 years ago
get_url.yaml Implement part of #27617 [expend checksum format to <algorithm>:(<checksum>|<url>)] (#43751) 6 years ago
grafana_5_dashboard_compatible.yaml Moved grafana 5 dashboard compatible changelog to fragments dir (#43593) 6 years ago
hashing-changes.yaml Share the implementation of hashing for both vars_prompt and password_hash (#21215) 6 years ago
ignore_unreachable.yml New keyword: ignore_unreachable (#43857) 6 years ago
include-apply-insert-order.yaml Change insertion order of apply block to not affect the include_X task itself (#44912) 6 years ago
include-double-handler.yaml Make sure we skip handlers from includes in compile_roles_handlers. Fixes #44848 (#44852) 6 years ago
inventory_dir_ext_compare_fix.yaml Make sure we are comparing bytes extensions in inventory plugins (#42475) 6 years ago
irc_py3_compat.yaml fix irc module to work with py3 (#42267) 6 years ago
lineinfile-empty-regexp.yml Add warning when using an empty regexp in lineinfile (#42013) 6 years ago
lineinfile-insertbefore-index-out-of-range.yaml Use proper index value with insertbefore on a one line file (#46071) 6 years ago
loop-cache-fix.yaml Ensure we only cache the loop when the task had a loop (#44901) 6 years ago
loop_undefined_delegate_to.yaml [stable-2.7] Ensure loop with delegate_to can short circuit the same as without delegate_to. Fixes #45189 (#45231) 6 years ago
lxd-idempotent-config.yaml changelog for lxd idempotence fix 6 years ago
mass-remove-deprecated.yaml Mass nuke deprecated items that are easily removed. ci_complete (#44320) 6 years ago
missing_interpreter.yml more useful messages when module failure (#43576) 6 years ago
module_defaults_groups.yml Extend `module_defaults` by adding default groups for cloud modules (#44127) 6 years ago
more-world-readable-warning-skips.yaml Make links anonymous so that they don't trigger rstcheck 6 years ago
mysql-migrate_to_pymysql.yaml [stable-2.7] Migrate from MySQLdb to PyMySQL (#40123) 6 years ago
netconf_config_default_operation.yaml Make default_operation optional in netconf_config module (#46333) 6 years ago
no-dynamic-import-tasks.yaml Don't allow import_tasks to transition to dynamic when file is missing. See #44822 (#44836) 6 years ago
no_log_fix_for_connection_exceptions.yaml Add changelog entry for the no_log fix 7 years ago
nxos_ambiguous_command_check.yaml [2.7] Add ambiguous command check as the error message is not persistent on nexus devices (#45341) 6 years ago
onepassword_unlock_vault.yaml Add ability to unlock 1Password vault to lookup plugins (#44923) 6 years ago
password_sanity_check.yml Give warning if user inputs not encrypted password to user module (#43615) 6 years ago
passwordstore-lookup-backup.yaml Add backup option to passwordstore lookup (and improve doc) (#39676) 7 years ago
pause-stdout-redirection.yaml Fix pause module so it does not stack trace when redirecting stdout. (#42217) 6 years ago
pause-try-except-curses.yaml Fix NameError in pause module (#42038) 6 years ago
piped-transfer-empty-files.yaml [stable-2.7] Support empty files with piped transfer_method. Fixes #45426 (#45618) 6 years ago
plugin-filters-cfg.yaml [stable-2.7] Fix issues with PLUGIN_FILTERS_CFG config handling (#45994) 6 years ago
plugins-accept-only-valid-args.yaml Ensure action plugins accept only valid args (#44779) 6 years ago
preserve_delegate_nolog.yml preserve delegation info on no_log (#42577) 6 years ago
puppet_debugging_options.yaml Add additional puppet options (#42218) 6 years ago
reboot-unicode-string.yaml Use unicode instead of bytes (#46234) 6 years ago
reboot-var-fix-bare-linux.yaml reboot: Fix typo and support bare Linux systems (#45607) 6 years ago
reboot_openbsd_support.yaml Add support for OpenBSD (#46147) 6 years ago
remote_tmp_de-escalated_user.yaml Fix remote_tmp when become with non admin user (#42396) 6 years ago
remove-merge-multiple-tags.yaml Remove deprecated tags config option (#44479) 6 years ago
remove-simplejson.yaml Remove use of simplejson throughout code base (#43548) 6 years ago
remove-unused-ansible-remote-temp.yaml ANSIBLE_REMOTE_TMP was an implementation of unified temp that was later changed 6 years ago
s3.yaml Remove deprecated s3 module (#44537) 6 years ago
script-module-no-file-path.yaml [stable-2.7] Don't pass file_name to DataLoader.load in script inventory plugin (#45428) 6 years ago
service.yml module_utils_service: Fix glob path of rc.d (#43018) 6 years ago
sns_topic_boto3_port.yaml sns_topic boto3 port (#39292) 6 years ago
syslog_facility-for-journald.yml Add syslog_facility parameter handling with systemd.journal (#41078) 7 years ago
systemd_user_dep_fixes.yml correct and clarify deprecation (#45234) 6 years ago
template_output_encoding.yml Allow specifying the output encoding in the template module (#42171) 6 years ago
terminal_plugin_nxos_iosxr.yaml fix nxos terminal plugin 6 years ago
to-nice-json-separators.yaml Fixes #23078 - eliminate trailing whitespace in to_nice_json (#42633) 6 years ago
urls-if-modified-since.yaml Introduce and use locale-naive rfc2822 date format function (#44868) 6 years ago
user-docs-underlying-tools.yaml Add documentation on underlying tools in user module (#46455) (#46511) 6 years ago
user-freebsd-createhome-name-fix.yaml fix a (forgotten?) change in moving createhome -> create_home (#42711) 6 years ago
user-module-backup-shadow.yaml Add backup feature to user module (#41854) 6 years ago
user_freebsd_always_changed_bugfix.yaml Only report change when home directory is different on FreeBSD (#42865) 6 years ago
v2.7.0-initial-commit.yaml Initial commit for 2.7.0 development. 7 years ago
v2.7.0_summary.yaml New release v2.7.0 6 years ago
v2.7.0a1_summary.yaml Rename the 2.7.0a1 summary. 6 years ago
v2.7.0b1_summary.yaml Add a summary for 2.7.0b1 6 years ago
v2.7.0rc1_summary.yaml New release 2.7.0rc1 6 years ago
v2.7.0rc2_summary.yaml New release v2.7.0rc2 6 years ago
v2.7.0rc3_summary.yaml New release 2.7.0rc3 6 years ago
v2.7.0rc4_summary.yaml New release v2.7.0 6 years ago
vars_prompt-allow-prompting-for-play-vars.yaml Only template values in vars_prompt rather than all vars (#39304) 6 years ago
vault-errors.yaml Raise a nicer error when we cannot execute the editor (#44423) 6 years ago
vmware_wait_for_task_fix.yaml VMware: Fix wait_for_task backoff behavior 6 years ago
vultr_modules_renamed.yml vultr: rename prefix vr_to vultr_ (#43994) 6 years ago
win_become_async_older_hosts.yml runas + async - get working on older hosts (#41772) 6 years ago
win_chocoalatey_install_tls12.yml win_chocolatey: add TLSv1.2 support for install phase (#41992) 6 years ago
win_chocolatey-bugfixes.yaml win_chocolatey: refactor module to fix bugs and add new features (#43013) 6 years ago
win_chocolatey-return-rc-always.yml win_chocolatey: always return the rc return value (#41883) 6 years ago
win_copy-dest-quote.yaml powershell: do not quote join_path result to reflect ShellBase join_path (#45944) 6 years ago
win_disk_image-mount-paths.yaml win_disk_image: return all mount paths in return value (#44799) 6 years ago
win_domain-dns-typo-fix.yml win_domain: fix typo in cmdlet call (#41993) 6 years ago
win_domain_controller-netlogon.yaml win_domain modules: ensure Netlogon service is still running after promotion (#43703) 6 years ago
win_group_membership-com-marshal.yaml win_group_membership - fix random issue with CI on 2012 R2 (#45462) 6 years ago
win_iis_webapppool-output-fix.yml win_iis_webapppool: do not output some cmdlet outputs (#41884) 6 years ago
win_privilege_util.yaml Add Ansible.ModuleUtils.PrivilegeUtil and converted code to use it (#43179) 6 years ago
win_psexec_command_arg.yaml win_psexec: fix arg handling when command contains multiple args (#44797) 6 years ago
win_psexec_session-selection.yaml Add new session parameter to win_psexec (#44263) 6 years ago
win_reboot-fixes.yml win_reboot: fix 2.6 issues and better handle post reboot reboot (#42330) 6 years ago
win_say-fix.yaml win_say - fix up syntax and test issues (#45450) 6 years ago
win_security_policy-empty-value.yaml win_security_policy: Allow setting a value to empty (#42051) 6 years ago
win_updates-async-fix.yml win_updates fix when win_updates is run with async (#41756) 7 years ago
win_uri-json.yml Fix support for JSON output when charset is set (#44762) 6 years ago
win_user-validate-fixes.yaml win_user: use different method to validate credentials that does not rely on SMB/RPC (#43059) 6 years ago
win_wait_for-timeout.yaml Fix issue when timeout and state=present (#43464) 6 years ago
winrm_kinit-remove-pass-log.yml Stop displaying kinit pass input on a failure (#41882) 6 years ago
winrm_pexpect.yaml winrm: add further conditional to using pexect for kerb auth (#45952) 6 years ago
wrcwd_ansible.cfg.yml fix changelog (#42272) 6 years ago
yum4_dnf_yum_action_plugin.yml YUM4/DNF compatibility via yum action plugin (#44322) 6 years ago
zypper-on-ubuntu.yaml Ensure that apt is always chosen on debian/ubuntu (#44413) 6 years ago