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:
Andrew Klychkov 2020-05-09 09:25:12 +03:00 committed by GitHub
commit 55c1ece888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 110 additions and 15 deletions

View file

@ -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: