linting
This commit is contained in:
parent
efff1db096
commit
a7c1478d15
@ -69,3 +69,6 @@ postgresql_users:
|
|||||||
|
|
||||||
# Whether to output user data when managing users.
|
# Whether to output user data when managing users.
|
||||||
postgres_users_no_log: true
|
postgres_users_no_log: true
|
||||||
|
postgres_consul_service: false
|
||||||
|
postgres_consul_service_name: postgress
|
||||||
|
postgres_consul_tag: "active"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
with_items: "{{ postgresql_global_config_options }}"
|
with_items: "{{ postgresql_global_config_options }}"
|
||||||
notify: restart postgresql
|
notify: Restart postgresql
|
||||||
|
|
||||||
- name: Configure host based authentication (if entries are configured).
|
- name: Configure host based authentication (if entries are configured).
|
||||||
template:
|
template:
|
||||||
@ -16,7 +16,7 @@
|
|||||||
owner: "{{ postgresql_user }}"
|
owner: "{{ postgresql_user }}"
|
||||||
group: "{{ postgresql_group }}"
|
group: "{{ postgresql_group }}"
|
||||||
mode: 0600
|
mode: 0600
|
||||||
notify: restart postgresql
|
notify: Restart postgresql
|
||||||
when: postgresql_hba_entries | length > 0
|
when: postgresql_hba_entries | length > 0
|
||||||
|
|
||||||
- name: Ensure PostgreSQL unix socket dirs exist.
|
- name: Ensure PostgreSQL unix socket dirs exist.
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
# Variable configuration.
|
- name: Variable configuration.
|
||||||
- include_tasks: variables.yml
|
include_tasks: variables.yml
|
||||||
|
|
||||||
# Setup/install tasks.
|
- name: Setup/install tasks.
|
||||||
- include_tasks: setup-RedHat.yml
|
include_tasks: setup-RedHat.yml
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
- include_tasks: setup-Debian.yml
|
- include_tasks: setup-Debian.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user