Fix some lint warnings.

This commit is contained in:
Andrea Dell'Amico 2023-10-20 12:44:06 +02:00
parent d69716bb8a
commit a6f71dda75
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 27 additions and 14 deletions

View File

@ -1,38 +1,51 @@
--- ---
- import_tasks: postgresql_org_repo.yml - name: Postgresql external repository
- import_tasks: packages.yml ansible.builtin.import_tasks: postgresql_org_repo.yml
- name: Manage the postgresql packages
ansible.builtin.import_tasks: packages.yml
when: psql_postgresql_install when: psql_postgresql_install
- import_tasks: postgis.yml - name: Manage the postgis packages
ansible.builtin.import_tasks: postgis.yml
when: postgres_install_gis_extensions when: postgres_install_gis_extensions
- import_tasks: postgresql-config-deb.yml - name: PostgreSQL configuration of deb systems
ansible.builtin.import_tasks: postgresql-config-deb.yml
when: when:
- psql_postgresql_install - psql_postgresql_install
- ansible_distribution_file_variety == "Debian" - ansible_distribution_file_variety == "Debian"
- import_tasks: postgresql-config-el.yml - name: PostgreSQL configuration of EL systems
ansible.builtin.import_tasks: postgresql-config-el.yml
when: when:
- psql_postgresql_install - psql_postgresql_install
- ansible_distribution_file_variety == "RedHat" - ansible_distribution_file_variety == "RedHat"
- import_tasks: postgresql-ssl-config.yml - name: TLS setup
ansible.builtin.import_tasks: postgresql-ssl-config.yml
when: psql_postgresql_install when: psql_postgresql_install
- import_tasks: psql-kernel-sharedmem.yml - name: Kernel sysctl parameters
ansible.builtin.import_tasks: psql-kernel-sharedmem.yml
when: when:
- psql_postgresql_install - psql_postgresql_install
- psql_set_shared_memory - psql_set_shared_memory
- import_tasks: configure-access.yml - name: Configure access to the databases
ansible.builtin.import_tasks: configure-access.yml
when: when:
- psql_postgresql_install - psql_postgresql_install
- psql_db_data is defined - psql_db_data is defined
- import_tasks: postgresql-service-status.yml - name: Service management
ansible.builtin.import_tasks: postgresql-service-status.yml
when: psql_postgresql_install when: psql_postgresql_install
- import_tasks: manage_pg_db.yml - name: Manage the databases
ansible.builtin.import_tasks: manage_pg_db.yml
when: when:
- psql_postgresql_install - psql_postgresql_install
- psql_db_data is defined - psql_db_data is defined
- import_tasks: postgresql-streaming-replication.yml - name: Streaming replication setup
ansible.builtin.import_tasks: postgresql-streaming-replication.yml
when: when:
- postgresql_streaming_replication - postgresql_streaming_replication
- import_tasks: postgresql-backup.yml - name: Local backups
ansible.builtin.import_tasks: postgresql-backup.yml
when: psql_postgresql_install when: psql_postgresql_install
- import_tasks: postgresql-letsencrypt-acmetool.yml - name: Letsencrypt hook
ansible.builtin.import_tasks: postgresql-letsencrypt-acmetool.yml
when: when:
- postgresql_letsencrypt_managed - postgresql_letsencrypt_managed