mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
postgresql modules: improve trust_input parameter's documentation, improve CI tests (#309)
* postgresql modules: improve trust_input parameter's documentation, improve CI tests * fix CI
This commit is contained in:
parent
85cbc27427
commit
55c1ece888
19 changed files with 110 additions and 15 deletions
|
@ -41,6 +41,7 @@
|
|||
user: '{{ replication_role }}'
|
||||
password: '{{ replication_pass }}'
|
||||
dbname: '{{ test_db }}'
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -82,6 +83,7 @@
|
|||
login_port: '{{ replica_port }}'
|
||||
name: '{{ test_subscription }}'
|
||||
state: absent
|
||||
trust_input: no
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
|
@ -145,6 +147,7 @@
|
|||
user: '{{ replication_role }}'
|
||||
password: '{{ replication_pass }}'
|
||||
dbname: '{{ test_db }}'
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -160,6 +163,7 @@
|
|||
state: present
|
||||
publications: '{{ test_pub }}'
|
||||
owner: '{{ test_role1 }}'
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -190,6 +194,7 @@
|
|||
state: present
|
||||
publications: '{{ test_pub }}'
|
||||
owner: '{{ test_role2 }}'
|
||||
trust_input: no
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
|
@ -222,6 +227,7 @@
|
|||
state: present
|
||||
publications: '{{ test_pub }}'
|
||||
owner: '{{ test_role2 }}'
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -284,6 +290,7 @@
|
|||
name: '{{ test_subscription }}'
|
||||
state: absent
|
||||
cascade: yes
|
||||
trust_input: no
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
|
@ -350,6 +357,7 @@
|
|||
subsparams:
|
||||
enabled: no
|
||||
synchronous_commit: no
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -383,6 +391,7 @@
|
|||
subsparams:
|
||||
enabled: yes
|
||||
synchronous_commit: yes
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -416,6 +425,7 @@
|
|||
subsparams:
|
||||
enabled: yes
|
||||
synchronous_commit: yes
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -441,6 +451,7 @@
|
|||
publications:
|
||||
- '{{ test_pub }}'
|
||||
- '{{ test_pub2 }}'
|
||||
trust_input: no
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
|
@ -474,6 +485,7 @@
|
|||
publications:
|
||||
- '{{ test_pub }}'
|
||||
- '{{ test_pub2 }}'
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -506,6 +518,7 @@
|
|||
publications:
|
||||
- '{{ test_pub }}'
|
||||
- '{{ test_pub2 }}'
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -546,6 +559,7 @@
|
|||
password: '{{ replication_pass }}'
|
||||
dbname: '{{ test_db }}'
|
||||
connect_timeout: '{{ conn_timeout }}'
|
||||
trust_input: no
|
||||
check_mode: yes
|
||||
|
||||
- assert:
|
||||
|
@ -569,6 +583,7 @@
|
|||
password: '{{ replication_pass }}'
|
||||
dbname: '{{ test_db }}'
|
||||
connect_timeout: '{{ conn_timeout }}'
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -602,6 +617,7 @@
|
|||
password: '{{ replication_pass }}'
|
||||
dbname: '{{ test_db }}'
|
||||
connect_timeout: '{{ conn_timeout }}'
|
||||
trust_input: no
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue