mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
[PR #6152/11c7611c backport][stable-6] More true/false normalization (#6153)
More true/false normalization (#6152)
* More true/false normalization.
* Boolean do not need explicit choices.
* One more.
* Fix type argument.
(cherry picked from commit 11c7611ced)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
community.general.apache2_module:
|
||||
name: autoindex
|
||||
state: absent
|
||||
force: True
|
||||
force: true
|
||||
|
||||
- name: reenable autoindex
|
||||
community.general.apache2_module:
|
||||
@@ -93,7 +93,7 @@
|
||||
community.general.apache2_module:
|
||||
name: dump_io
|
||||
state: present
|
||||
ignore_errors: True
|
||||
ignore_errors: true
|
||||
register: enable_dumpio_wrong
|
||||
|
||||
- name: disable dump_io
|
||||
@@ -132,7 +132,7 @@
|
||||
community.general.apache2_module:
|
||||
name: "{{ item }}"
|
||||
state: absent
|
||||
ignore_configcheck: True
|
||||
ignore_configcheck: true
|
||||
with_items:
|
||||
- mpm_worker
|
||||
- mpm_event
|
||||
@@ -142,7 +142,7 @@
|
||||
community.general.apache2_module:
|
||||
name: mpm_event
|
||||
state: present
|
||||
ignore_configcheck: True
|
||||
ignore_configcheck: true
|
||||
register: enabledmpmevent
|
||||
|
||||
- name: ensure changed mpm_event
|
||||
@@ -154,7 +154,7 @@
|
||||
community.general.apache2_module:
|
||||
name: "{{ item.name }}"
|
||||
state: "{{ item.state }}"
|
||||
ignore_configcheck: True
|
||||
ignore_configcheck: true
|
||||
with_items:
|
||||
- name: mpm_event
|
||||
state: absent
|
||||
@@ -193,7 +193,7 @@
|
||||
community.general.apache2_module:
|
||||
name: "{{item}}"
|
||||
state: absent
|
||||
ignore_configcheck: True
|
||||
ignore_configcheck: true
|
||||
with_items:
|
||||
- mpm_worker
|
||||
- mpm_event
|
||||
@@ -203,5 +203,5 @@
|
||||
community.general.apache2_module:
|
||||
name: mpm_event
|
||||
state: present
|
||||
ignore_configcheck: True
|
||||
ignore_configcheck: true
|
||||
register: enabledmpmevent
|
||||
|
||||
Reference in New Issue
Block a user