Skip to content

Commit febcaba

Browse files
authored
use true/false (#105)
1 parent 12f8baf commit febcaba

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

plugins/doc_fragments/proxysql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ class ModuleDocFragment(object):
5252
description:
5353
- Save config to sqlite db on disk to persist the configuration.
5454
type: bool
55-
default: 'yes'
55+
default: true
5656
load_to_runtime:
5757
description:
5858
- Dynamically load config to runtime memory.
5959
type: bool
60-
default: 'yes'
60+
default: true
6161
'''

plugins/modules/proxysql_query_rules.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,12 @@
245245
rule_id: 1
246246
digest: 0xECA450EA500A9A55
247247
cache_ttl: 30000
248-
cache_empty_result: no
248+
cache_empty_result: false
249249
destination_hostgroup: 1
250-
active: yes
250+
active: true
251251
state: present
252-
save_to_disk: yes
253-
load_to_runtime: yes
252+
save_to_disk: true
253+
load_to_runtime: true
254254
255255
# This example demonstrates how to prevent disabling multiplexing for
256256
# situations where a request contains @.

plugins/modules/proxysql_query_rules_fast_routing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979
destination_hostgroup: 1
8080
comment: 'fast route user_ro to default schema'
8181
state: present
82-
save_to_disk: yes
83-
load_to_runtime: yes
82+
save_to_disk: true
83+
load_to_runtime: true
8484
'''
8585

8686
RETURN = '''

tests/integration/targets/test_proxysql_info/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: "{{ role_name }} | proxysql_info | test in check_mode"
3-
check_mode: yes
3+
check_mode: true
44
community.proxysql.proxysql_info:
55
login_user: admin
66
login_password: admin

tests/integration/targets/test_proxysql_query_rules/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
### tests
88
- name: "{{ role_name }} | proxysql_info"
9-
check_mode: yes
9+
check_mode: true
1010
community.proxysql.proxysql_info:
1111
login_user: admin
1212
login_password: admin

tests/integration/targets/test_proxysql_replication_hostgroups/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
reader_hostgroup: 300
126126
check_type: innodb_read_only
127127
register: special_condition
128-
check_mode: yes
128+
check_mode: true
129129

130130
- name: verify check_mode - change for proxysql > 2
131131
when: proxysql_information.version.major >= 2

0 commit comments

Comments
 (0)