pre-commit-run
checks.x86_64-linux.pre-commit
· build #598
· raw
1Sourcing pytest-check-hook2Using pytestCheckPhase
unpackPhase
3unpacking source archive /nix/store/1859liv95a3zdhxj4cxpvsm5h48ir1d4-source4source root is sourceconfigurePhase
5no configure script, doing nothingbuildPhase
6Running: $ pre-commit run --all-files7actionlint...............................................................Passed8- hook id: actionlint9- duration: 0.04s10ansible-lint.............................................................Passed11- hook id: ansible-lint12- duration: 19.43s1314[WARNING]: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.15[DEPRECATION WARNING]: Importing 'to_bytes' from 'ansible.module_utils._text' is deprecated. This feature will be removed from ansible-core version 2.24. Use ansible.module_utils.common.text.converters instead.16WARNING Ignored exception from ArgsRule.matchtasks while processing ansible/tasks/setup-system.yml (tasks): [Errno 36] File name too long: '{"ANSIBLE_MODULE_ARGS": {"name": "ubuntu", "uid": "{{ uids.ubuntu }}", "group": "ubuntu", "groups": ["adm", "audio", "cdrom", "dialout", "dip", "floppy", "lxd", "netdev", "plugdev", "sudo", "video"], "comment": "Ubuntu", "create_home": true, "password_lock": true, "shell": "/bin/bash", "state": "present"}}'17WARNING Ignored exception from ArgsRule.matchtasks while processing ansible/tasks/stage2-setup-postgres.yml (tasks): [Errno 36] File name too long: '{"ANSIBLE_MODULE_ARGS": {"group": "postgres", "mode": "{{ file_item[\'mode\'] | default(\'0755\', true) }}", "owner": "{{ file_item[\'owner\'] | default(\'postgres\', true) }}", "path": "{{ file_item[\'path\'] }}", "state": "{{ file_item[\'state\'] | default(\'directory\', true) }}"}}'18[DEPRECATION WARNING]: Importing 'to_native' from 'ansible.module_utils._text' is deprecated. This feature will be removed from ansible-core version 2.24. Use ansible.module_utils.common.text.converters instead.19WARNING /nix/store/sv655rl926y5060hd77cflbfil7lb7lv-python3.13-ansible-core-2.20.0/lib/python3.13/site-packages/ansible/utils/display.py:718 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.20WARNING /nix/store/sv655rl926y5060hd77cflbfil7lb7lv-python3.13-ansible-core-2.20.0/lib/python3.13/site-packages/ansible/utils/display.py:718 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.21WARNING /nix/store/sv655rl926y5060hd77cflbfil7lb7lv-python3.13-ansible-core-2.20.0/lib/python3.13/site-packages/ansible/utils/display.py:718 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.22WARNING /nix/store/sv655rl926y5060hd77cflbfil7lb7lv-python3.13-ansible-core-2.20.0/lib/python3.13/site-packages/ansible/utils/display.py:718 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.23WARNING Found incompatible custom yamllint configuration (.yamllint), please either remove the file or edit it to comply with:24 - comments.min-spaces-from-content must be 1.2526Read https://ansible.readthedocs.io/projects/lint/rules/yaml/ for more details regarding why we have these requirements. Fix mode will not be available.27WARNING Listing 367 violation(s) marked as ignored, likely already known28yaml[empty-lines]: Too many blank lines (1 > 0) (warning) # ignored29ansible/files/envoy_config/cds.yaml:863031yaml[empty-lines]: Too many blank lines (1 > 0) (warning) # ignored32ansible/files/envoy_config/envoy.yaml:233334yaml[empty-lines]: Too many blank lines (1 > 0) (warning) # ignored35ansible/files/envoy_config/lds.supabase.yaml:4063637yaml[empty-lines]: Too many blank lines (1 > 0) (warning) # ignored38ansible/files/envoy_config/lds.yaml:4503940name[play]: All plays should be named. (warning) # ignored41ansible/playbook.yml:1:34243fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored44ansible/playbook.yml:23:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.4546name[missing]: All tasks should be named. (warning) # ignored47ansible/playbook.yml:23 Task/Handler: import_tasks tasks/setup-system.yml4849fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored50ansible/playbook.yml:26:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.5152fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored53ansible/playbook.yml:29:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.5455fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored56ansible/playbook.yml:32:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.5758fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored59ansible/playbook.yml:36:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.6061fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored62ansible/playbook.yml:39:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.6364fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored65ansible/playbook.yml:45:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.6667fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored68ansible/playbook.yml:48:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.6970fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored71ansible/playbook.yml:59:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.7273fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored74ansible/playbook.yml:66:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.7576fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored77ansible/playbook.yml:73:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.7879fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored80ansible/playbook.yml:79:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.8182fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored83ansible/playbook.yml:85:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.8485fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored86ansible/playbook.yml:91:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.8788risky-file-permissions: File permissions unset or incorrect. (warning) # ignored89ansible/playbook.yml:95 Task/Handler: Adjust APT update intervals9091fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored92ansible/playbook.yml:97:7 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.9394risky-file-permissions: File permissions unset or incorrect. (warning) # ignored95ansible/playbook.yml:101 Task/Handler: Transfer init SQL files9697fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored98ansible/playbook.yml:103:7 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.99100no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored101ansible/playbook.yml:108 Task/Handler: Create postgres role102103fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored104ansible/playbook.yml:112:7 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.105106command-instead-of-shell: Use shell only when shell functionality is required. (warning) # ignored107ansible/playbook.yml:115 Task/Handler: Execute init SQL files108109no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored110ansible/playbook.yml:115 Task/Handler: Execute init SQL files111112fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored113ansible/playbook.yml:119:7 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.114115fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored116ansible/playbook.yml:125:7 Use `ansible.builtin.file` or `ansible.legacy.file` instead.117118fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored119ansible/playbook.yml:132:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.120121fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored122ansible/playbook.yml:138:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.123124fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored125ansible/playbook.yml:144:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.126127fqcn[action-core]: Use FQCN for builtin module actions (apt). (warning) # ignored128ansible/playbook.yml:149:7 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead.129130fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored131ansible/playbook.yml:155:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.132133fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored134ansible/playbook.yml:161:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.135136no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored137ansible/playbook.yml:165 Task/Handler: Purge snapd138139fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored140ansible/playbook.yml:168:7 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.141142command-instead-of-module: systemctl used in place of systemd module (warning) # ignored143ansible/playbook.yml:171 Task/Handler: Run permission checks144145no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored146ansible/playbook.yml:171 Task/Handler: Run permission checks147148fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored149ansible/playbook.yml:174:7 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.150151command-instead-of-module: systemctl used in place of systemd module (warning) # ignored152ansible/playbook.yml:179 Task/Handler: Run fail2ban configuration checks153154no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored155ansible/playbook.yml:179 Task/Handler: Run fail2ban configuration checks156157fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored158ansible/playbook.yml:182:7 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.159160no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored161ansible/playbook.yml:187 Task/Handler: Run supascan baseline validation162163fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored164ansible/playbook.yml:189:7 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.165166fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored167ansible/playbook.yml:197:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.168169fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored170ansible/playbook.yml:202:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.171172fqcn[action-core]: Use FQCN for builtin module actions (import_tasks). (warning) # ignored173ansible/playbook.yml:206:7 Use `ansible.builtin.import_tasks` or `ansible.legacy.import_tasks` instead.174175risky-file-permissions: File permissions unset or incorrect. (warning) # ignored176ansible/tasks/finalize-ami.yml:1 Task/Handler: PG logging conf177178name[casing]: All names should start with an uppercase letter. (warning) # ignored179ansible/tasks/finalize-ami.yml:7:9 Task/Handler: auto_explain, pg_cron, and pg_net confs180181risky-file-permissions: File permissions unset or incorrect. (warning) # ignored182ansible/tasks/finalize-ami.yml:7 Task/Handler: auto_explain, pg_cron, and pg_net confs183184risky-file-permissions: File permissions unset or incorrect. (warning) # ignored185ansible/tasks/finalize-ami.yml:74 Task/Handler: Disable cron access186187fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored188ansible/tasks/finalize-ami.yml:75:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.189190name[casing]: All names should start with an uppercase letter. (warning) # ignored191ansible/tasks/finalize-ami.yml:109:9 Task/Handler: import pgsodium_getkey script192193name[casing]: All names should start with an uppercase letter. (warning) # ignored194ansible/tasks/fix-ipv6-ndisc.yml:2:9 Task/Handler: fix Network - systemd timer and service file195196name[casing]: All names should start with an uppercase letter. (warning) # ignored197ansible/tasks/fix-ipv6-ndisc.yml:15:9 Task/Handler: fix Network - detect script198199name[casing]: All names should start with an uppercase letter. (warning) # ignored200ansible/tasks/fix-ipv6-ndisc.yml:23:9 Task/Handler: fix Network - reload systemd201202name[casing]: All names should start with an uppercase letter. (warning) # ignored203ansible/tasks/fix-ipv6-ndisc.yml:27:9 Task/Handler: fix Network - ensure systemd timer is installed but disabled204205name[casing]: All names should start with an uppercase letter. (warning) # ignored206ansible/tasks/internal/admin-api.yml:1:9 Task/Handler: adminapi - system group207208name[casing]: All names should start with an uppercase letter. (warning) # ignored209ansible/tasks/internal/admin-api.yml:7:9 Task/Handler: adminapi - system user210211fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored212ansible/tasks/internal/admin-api.yml:15:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.213214name[casing]: All names should start with an uppercase letter. (warning) # ignored215ansible/tasks/internal/admin-api.yml:27:9 Task/Handler: give adminapi user permissions216217fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored218ansible/tasks/internal/admin-api.yml:28:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.219220name[casing]: All names should start with an uppercase letter. (warning) # ignored221ansible/tasks/internal/admin-api.yml:34:9 Task/Handler: perms for adminapi222223no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored224ansible/tasks/internal/admin-api.yml:34 Task/Handler: perms for adminapi225226fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored227ansible/tasks/internal/admin-api.yml:35:3 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.228229risky-file-permissions: File permissions unset or incorrect. (warning) # ignored230ansible/tasks/internal/admin-api.yml:38 Task/Handler: Download adminapi archive231232fqcn[action-core]: Use FQCN for builtin module actions (get_url). (warning) # ignored233ansible/tasks/internal/admin-api.yml:39:3 Use `ansible.builtin.get_url` or `ansible.legacy.get_url` instead.234235name[casing]: All names should start with an uppercase letter. (warning) # ignored236ansible/tasks/internal/admin-api.yml:45:9 Task/Handler: adminapi - unpack archive in /opt237238fqcn[action-core]: Use FQCN for builtin module actions (unarchive). (warning) # ignored239ansible/tasks/internal/admin-api.yml:46:3 Use `ansible.builtin.unarchive` or `ansible.legacy.unarchive` instead.240241name[casing]: All names should start with an uppercase letter. (warning) # ignored242ansible/tasks/internal/admin-api.yml:52:9 Task/Handler: adminapi - config dir243244risky-file-permissions: File permissions unset or incorrect. (warning) # ignored245ansible/tasks/internal/admin-api.yml:52 Task/Handler: adminapi - config dir246247fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored248ansible/tasks/internal/admin-api.yml:53:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.249250name[casing]: All names should start with an uppercase letter. (warning) # ignored251ansible/tasks/internal/admin-api.yml:58:9 Task/Handler: adminapi - pg_upgrade scripts dir252253risky-file-permissions: File permissions unset or incorrect. (warning) # ignored254ansible/tasks/internal/admin-api.yml:58 Task/Handler: adminapi - pg_upgrade scripts dir255256fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored257ansible/tasks/internal/admin-api.yml:59:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.258259fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored260ansible/tasks/internal/admin-api.yml:65:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.261262name[casing]: All names should start with an uppercase letter. (warning) # ignored263ansible/tasks/internal/admin-api.yml:79:9 Task/Handler: adminapi - create service file264265risky-file-permissions: File permissions unset or incorrect. (warning) # ignored266ansible/tasks/internal/admin-api.yml:79 Task/Handler: adminapi - create service file267268fqcn[action-core]: Use FQCN for builtin module actions (template). (warning) # ignored269ansible/tasks/internal/admin-api.yml:80:3 Use `ansible.builtin.template` or `ansible.legacy.template` instead.270271name[casing]: All names should start with an uppercase letter. (warning) # ignored272ansible/tasks/internal/admin-api.yml:84:9 Task/Handler: adminapi - create service file for commence backup process273274risky-file-permissions: File permissions unset or incorrect. (warning) # ignored275ansible/tasks/internal/admin-api.yml:84 Task/Handler: adminapi - create service file for commence backup process276277fqcn[action-core]: Use FQCN for builtin module actions (template). (warning) # ignored278ansible/tasks/internal/admin-api.yml:85:3 Use `ansible.builtin.template` or `ansible.legacy.template` instead.279280name[casing]: All names should start with an uppercase letter. (warning) # ignored281ansible/tasks/internal/admin-api.yml:89:9 Task/Handler: adminapi - create service file for commence restore process282283risky-file-permissions: File permissions unset or incorrect. (warning) # ignored284ansible/tasks/internal/admin-api.yml:89 Task/Handler: adminapi - create service file for commence restore process285286fqcn[action-core]: Use FQCN for builtin module actions (template). (warning) # ignored287ansible/tasks/internal/admin-api.yml:90:3 Use `ansible.builtin.template` or `ansible.legacy.template` instead.288289fqcn[action]: Use FQCN for module actions, such `community.general.ufw`. (warning) # ignored290ansible/tasks/internal/admin-api.yml:95:3 Action `ufw` is not FQCN.291292name[casing]: All names should start with an uppercase letter. (warning) # ignored293ansible/tasks/internal/admin-api.yml:99:9 Task/Handler: adminapi - reload systemd294295fqcn[action-core]: Use FQCN for builtin module actions (systemd). (warning) # ignored296ansible/tasks/internal/admin-api.yml:100:3 Use `ansible.builtin.systemd` or `ansible.legacy.systemd` instead.297298name[casing]: All names should start with an uppercase letter. (warning) # ignored299ansible/tasks/internal/admin-api.yml:103:9 Task/Handler: adminapi - grant extra priviliges to user300301no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored302ansible/tasks/internal/admin-api.yml:103 Task/Handler: adminapi - grant extra priviliges to user303304fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored305ansible/tasks/internal/admin-api.yml:104:3 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.306307risky-file-permissions: File permissions unset or incorrect. (warning) # ignored308ansible/tasks/internal/admin-mgr.yml:1 Task/Handler: Download admin-mgr archive309310fqcn[action-core]: Use FQCN for builtin module actions (get_url). (warning) # ignored311ansible/tasks/internal/admin-mgr.yml:2:3 Use `ansible.builtin.get_url` or `ansible.legacy.get_url` instead.312313name[casing]: All names should start with an uppercase letter. (warning) # ignored314ansible/tasks/internal/admin-mgr.yml:12:9 Task/Handler: admin-mgr - unpack archive in /usr/bin/315316fqcn[action-core]: Use FQCN for builtin module actions (unarchive). (warning) # ignored317ansible/tasks/internal/admin-mgr.yml:13:3 Use `ansible.builtin.unarchive` or `ansible.legacy.unarchive` instead.318319risky-file-permissions: File permissions unset or incorrect. (warning) # ignored320ansible/tasks/internal/collect-pg-binaries.yml:1 Task/Handler: Collect Postgres binaries - create collection directory321322fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored323ansible/tasks/internal/collect-pg-binaries.yml:2:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.324325risky-file-permissions: File permissions unset or incorrect. (warning) # ignored326ansible/tasks/internal/collect-pg-binaries.yml:6 Task/Handler: Collect Postgres binaries - collect binaries and libraries327328fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored329ansible/tasks/internal/collect-pg-binaries.yml:7:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.330331risky-file-permissions: File permissions unset or incorrect. (warning) # ignored332ansible/tasks/internal/collect-pg-binaries.yml:15 Task/Handler: Collect Postgres libraries - collect libraries which are in /usr/lib/postgresql/lib/333334fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored335ansible/tasks/internal/collect-pg-binaries.yml:16:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.336337risky-file-permissions: File permissions unset or incorrect. (warning) # ignored338ansible/tasks/internal/collect-pg-binaries.yml:21 Task/Handler: Collect Postgres libraries - collect libraries which are in /var/lib/postgresql/extension/339340fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored341ansible/tasks/internal/collect-pg-binaries.yml:22:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.342343risky-file-permissions: File permissions unset or incorrect. (warning) # ignored344ansible/tasks/internal/collect-pg-binaries.yml:27 Task/Handler: Collect Postgres libraries - collect latest libpq345346fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored347ansible/tasks/internal/collect-pg-binaries.yml:28:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.348349risky-file-permissions: File permissions unset or incorrect. (warning) # ignored350ansible/tasks/internal/collect-pg-binaries.yml:33 Task/Handler: Collect Postgres binaries - collect shared files351352fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored353ansible/tasks/internal/collect-pg-binaries.yml:34:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.354355risky-file-permissions: File permissions unset or incorrect. (warning) # ignored356ansible/tasks/internal/collect-pg-binaries.yml:39 Task/Handler: Collect Postgres binaries - create tarfile357358fqcn[action]: Use FQCN for module actions, such `community.general.archive`. (warning) # ignored359ansible/tasks/internal/collect-pg-binaries.yml:40:3 Action `archive` is not FQCN.360361fqcn[action-core]: Use FQCN for builtin module actions (fetch). (warning) # ignored362ansible/tasks/internal/collect-pg-binaries.yml:46:3 Use `ansible.builtin.fetch` or `ansible.legacy.fetch` instead.363364risky-file-permissions: File permissions unset or incorrect. (warning) # ignored365ansible/tasks/internal/install-aws-cli.yml:20 Task/Handler: AWS CLI - get366367no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored368ansible/tasks/internal/install-aws-cli.yml:37 Task/Handler: AWS CLI - install369370name[casing]: All names should start with an uppercase letter. (warning) # ignored371ansible/tasks/internal/install-aws-cli.yml:42:9 Task/Handler: install utilities to manage Amazon EC2 instance storage372373no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored374ansible/tasks/internal/install-aws-cli.yml:48 Task/Handler: AWS CLI - configure ipv6 support for s3375376fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored377ansible/tasks/internal/install-salt.yml:4:7 Use `ansible.builtin.file` or `ansible.legacy.file` instead.378379name[casing]: All names should start with an uppercase letter. (warning) # ignored380ansible/tasks/internal/install-salt.yml:9:13 Task/Handler: salt gpg key381382jinja[spacing]: Jinja2 spacing could be improved: {{salt_artifacts['url']}} -> {{ salt_artifacts['url'] }} (warning) # ignored383ansible/tasks/internal/install-salt.yml:11:14 Jinja2 template rewrite recommendation: `{{ salt_artifacts['url'] }}`.384385jinja[spacing]: Jinja2 spacing could be improved: {{salt_artifacts['checksum']}} -> {{ salt_artifacts['checksum'] }} (warning) # ignored386ansible/tasks/internal/install-salt.yml:12:19 Jinja2 template rewrite recommendation: `{{ salt_artifacts['checksum'] }}`.387388name[casing]: All names should start with an uppercase letter. (warning) # ignored389ansible/tasks/internal/install-salt.yml:20:13 Task/Handler: salt apt repo390391fqcn[action-core]: Use FQCN for builtin module actions (apt). (warning) # ignored392ansible/tasks/internal/install-salt.yml:27:3 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead.393394name[casing]: All names should start with an uppercase letter. (warning) # ignored395ansible/tasks/internal/optimizations.yml:1:9 Task/Handler: ensure services are stopped and disabled for first boot nix build396397fqcn[action-core]: Use FQCN for builtin module actions (systemd). (warning) # ignored398ansible/tasks/internal/optimizations.yml:3:3 Use `ansible.builtin.systemd` or `ansible.legacy.systemd` instead.399400name[casing]: All names should start with an uppercase letter. (warning) # ignored401ansible/tasks/internal/optimizations.yml:15:9 Task/Handler: disable man-db402403fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored404ansible/tasks/internal/optimizations.yml:18:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.405406name[casing]: All names should start with an uppercase letter. (warning) # ignored407ansible/tasks/internal/pg_egress_collect.yml:1:9 Task/Handler: pg_egress_collect - install tcpdump and perl async lib408409fqcn[action-core]: Use FQCN for builtin module actions (apt). (warning) # ignored410ansible/tasks/internal/pg_egress_collect.yml:2:3 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead.411412name[casing]: All names should start with an uppercase letter. (warning) # ignored413ansible/tasks/internal/pg_egress_collect.yml:7:9 Task/Handler: pg_egress_collect - create service file414415risky-file-permissions: File permissions unset or incorrect. (warning) # ignored416ansible/tasks/internal/pg_egress_collect.yml:7 Task/Handler: pg_egress_collect - create service file417418fqcn[action-core]: Use FQCN for builtin module actions (template). (warning) # ignored419ansible/tasks/internal/pg_egress_collect.yml:8:3 Use `ansible.builtin.template` or `ansible.legacy.template` instead.420421name[casing]: All names should start with an uppercase letter. (warning) # ignored422ansible/tasks/internal/pg_egress_collect.yml:12:9 Task/Handler: pg_egress_collect - reload systemd423424fqcn[action-core]: Use FQCN for builtin module actions (systemd). (warning) # ignored425ansible/tasks/internal/pg_egress_collect.yml:13:3 Use `ansible.builtin.systemd` or `ansible.legacy.systemd` instead.426427yaml[empty-lines]: Too many blank lines (1 > 0) (warning) # ignored428ansible/tasks/internal/pg_egress_collect.yml:15429430fqcn[action]: Use FQCN for module actions, such `community.general.ufw`. (warning) # ignored431ansible/tasks/internal/postgres-exporter.yml:2:3 Action `ufw` is not FQCN.432433name[casing]: All names should start with an uppercase letter. (warning) # ignored434ansible/tasks/internal/postgres-exporter.yml:6:9 Task/Handler: create directories - systemd unit435436fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored437ansible/tasks/internal/postgres-exporter.yml:7:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.438439name[casing]: All names should start with an uppercase letter. (warning) # ignored440ansible/tasks/internal/postgres-exporter.yml:14:9 Task/Handler: create directories - service files441442fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored443ansible/tasks/internal/postgres-exporter.yml:15:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.444445name[casing]: All names should start with an uppercase letter. (warning) # ignored446ansible/tasks/internal/postgres-exporter.yml:23:9 Task/Handler: download postgres exporter447448risky-file-permissions: File permissions unset or incorrect. (warning) # ignored449ansible/tasks/internal/postgres-exporter.yml:23 Task/Handler: download postgres exporter450451fqcn[action-core]: Use FQCN for builtin module actions (get_url). (warning) # ignored452ansible/tasks/internal/postgres-exporter.yml:24:3 Use `ansible.builtin.get_url` or `ansible.legacy.get_url` instead.453454name[casing]: All names should start with an uppercase letter. (warning) # ignored455ansible/tasks/internal/postgres-exporter.yml:34:9 Task/Handler: expand postgres exporter456457fqcn[action-core]: Use FQCN for builtin module actions (unarchive). (warning) # ignored458ansible/tasks/internal/postgres-exporter.yml:35:3 Use `ansible.builtin.unarchive` or `ansible.legacy.unarchive` instead.459460name[casing]: All names should start with an uppercase letter. (warning) # ignored461ansible/tasks/internal/postgres-exporter.yml:42:9 Task/Handler: exporter create a service462463risky-file-permissions: File permissions unset or incorrect. (warning) # ignored464ansible/tasks/internal/postgres-exporter.yml:42 Task/Handler: exporter create a service465466fqcn[action-core]: Use FQCN for builtin module actions (template). (warning) # ignored467ansible/tasks/internal/postgres-exporter.yml:43:3 Use `ansible.builtin.template` or `ansible.legacy.template` instead.468469name[casing]: All names should start with an uppercase letter. (warning) # ignored470ansible/tasks/internal/postgres-exporter.yml:47:9 Task/Handler: exporter ensure service is present471472fqcn[action-core]: Use FQCN for builtin module actions (systemd). (warning) # ignored473ansible/tasks/internal/postgres-exporter.yml:48:3 Use `ansible.builtin.systemd` or `ansible.legacy.systemd` instead.474475name[casing]: All names should start with an uppercase letter. (warning) # ignored476ansible/tasks/internal/postgresql-prestart.yml:1:9 Task/Handler: postgres_prestart - create service file477478fqcn[action-core]: Use FQCN for builtin module actions (template). (warning) # ignored479ansible/tasks/internal/postgresql-prestart.yml:2:3 Use `ansible.builtin.template` or `ansible.legacy.template` instead.480481name[casing]: All names should start with an uppercase letter. (warning) # ignored482ansible/tasks/internal/setup-ansible-pull.yml:1:9 Task/Handler: install ansible483484no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored485ansible/tasks/internal/setup-ansible-pull.yml:1 Task/Handler: install ansible486487fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored488ansible/tasks/internal/setup-ansible-pull.yml:2:3 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.489490name[casing]: All names should start with an uppercase letter. (warning) # ignored491ansible/tasks/internal/setup-ansible-pull.yml:10:9 Task/Handler: ansible pull systemd units492493risky-file-permissions: File permissions unset or incorrect. (warning) # ignored494ansible/tasks/internal/setup-ansible-pull.yml:10 Task/Handler: ansible pull systemd units495496fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored497ansible/tasks/internal/setup-ansible-pull.yml:11:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.498499name[casing]: All names should start with an uppercase letter. (warning) # ignored500ansible/tasks/internal/setup-ansible-pull.yml:18:9 Task/Handler: create facts dir501502risky-file-permissions: File permissions unset or incorrect. (warning) # ignored503ansible/tasks/internal/setup-ansible-pull.yml:18 Task/Handler: create facts dir504505fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored506ansible/tasks/internal/setup-ansible-pull.yml:19:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.507508name[casing]: All names should start with an uppercase letter. (warning) # ignored509ansible/tasks/internal/setup-ansible-pull.yml:23:9 Task/Handler: ansible facts510511risky-file-permissions: File permissions unset or incorrect. (warning) # ignored512ansible/tasks/internal/setup-ansible-pull.yml:23 Task/Handler: ansible facts513514fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored515ansible/tasks/internal/setup-ansible-pull.yml:24:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.516517name[casing]: All names should start with an uppercase letter. (warning) # ignored518ansible/tasks/internal/setup-ansible-pull.yml:28:9 Task/Handler: reload systemd519520fqcn[action-core]: Use FQCN for builtin module actions (systemd). (warning) # ignored521ansible/tasks/internal/setup-ansible-pull.yml:29:3 Use `ansible.builtin.systemd` or `ansible.legacy.systemd` instead.522523name[casing]: All names should start with an uppercase letter. (warning) # ignored524ansible/tasks/internal/setup-nftables.yml:1:9 Task/Handler: nftables overrides525526risky-file-permissions: File permissions unset or incorrect. (warning) # ignored527ansible/tasks/internal/setup-nftables.yml:1 Task/Handler: nftables overrides528529fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored530ansible/tasks/internal/setup-nftables.yml:2:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.531532name[casing]: All names should start with an uppercase letter. (warning) # ignored533ansible/tasks/internal/setup-nftables.yml:7:9 Task/Handler: nftables empty config534535risky-file-permissions: File permissions unset or incorrect. (warning) # ignored536ansible/tasks/internal/setup-nftables.yml:7 Task/Handler: nftables empty config537538fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored539ansible/tasks/internal/setup-nftables.yml:8:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.540541name[casing]: All names should start with an uppercase letter. (warning) # ignored542ansible/tasks/internal/setup-nftables.yml:13:9 Task/Handler: include managed config543544no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored545ansible/tasks/internal/setup-nftables.yml:13 Task/Handler: include managed config546547fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored548ansible/tasks/internal/setup-nftables.yml:14:3 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.549550name[casing]: All names should start with an uppercase letter. (warning) # ignored551ansible/tasks/internal/setup-nftables.yml:21:9 Task/Handler: install per-user egress filters552553fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored554ansible/tasks/internal/setup-nftables.yml:22:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.555556name[casing]: All names should start with an uppercase letter. (warning) # ignored557ansible/tasks/internal/setup-nftables.yml:29:9 Task/Handler: include per-user egress filters558559fqcn[action-core]: Use FQCN for builtin module actions (blockinfile). (warning) # ignored560ansible/tasks/internal/setup-nftables.yml:30:3 Use `ansible.builtin.blockinfile` or `ansible.legacy.blockinfile` instead.561562name[casing]: All names should start with an uppercase letter. (warning) # ignored563ansible/tasks/internal/setup-nftables.yml:38:9 Task/Handler: check the full nftables config parses564565fqcn[action-core]: Use FQCN for builtin module actions (command). (warning) # ignored566ansible/tasks/internal/setup-nftables.yml:39:3 Use `ansible.builtin.command` or `ansible.legacy.command` instead.567568name[casing]: All names should start with an uppercase letter. (warning) # ignored569ansible/tasks/internal/setup-nftables.yml:42:9 Task/Handler: ufw overrides dir570571risky-file-permissions: File permissions unset or incorrect. (warning) # ignored572ansible/tasks/internal/setup-nftables.yml:42 Task/Handler: ufw overrides dir573574fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored575ansible/tasks/internal/setup-nftables.yml:43:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.576577risky-file-permissions: File permissions unset or incorrect. (warning) # ignored578ansible/tasks/internal/setup-nftables.yml:48 Task/Handler: Custom systemd overrides579580fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored581ansible/tasks/internal/setup-nftables.yml:49:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.582583name[casing]: All names should start with an uppercase letter. (warning) # ignored584ansible/tasks/internal/setup-nftables.yml:53:9 Task/Handler: reload systemd585586fqcn[action-core]: Use FQCN for builtin module actions (systemd). (warning) # ignored587ansible/tasks/internal/setup-nftables.yml:54:3 Use `ansible.builtin.systemd` or `ansible.legacy.systemd` instead.588589name[casing]: All names should start with an uppercase letter. (warning) # ignored590ansible/tasks/internal/supabase-admin-agent.yml:1:9 Task/Handler: supabase-admin-agent - system group591592name[casing]: All names should start with an uppercase letter. (warning) # ignored593ansible/tasks/internal/supabase-admin-agent.yml:7:9 Task/Handler: supabase-admin-agent - system user594595name[casing]: All names should start with an uppercase letter. (warning) # ignored596ansible/tasks/internal/supabase-admin-agent.yml:17:9 Task/Handler: supabase-admin-agent - config dir597598risky-file-permissions: File permissions unset or incorrect. (warning) # ignored599ansible/tasks/internal/supabase-admin-agent.yml:17 Task/Handler: supabase-admin-agent - config dir600601fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored602ansible/tasks/internal/supabase-admin-agent.yml:18:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.603604name[casing]: All names should start with an uppercase letter. (warning) # ignored605ansible/tasks/internal/supabase-admin-agent.yml:23:9 Task/Handler: supabase-admin-agent - gpg dir606607risky-file-permissions: File permissions unset or incorrect. (warning) # ignored608ansible/tasks/internal/supabase-admin-agent.yml:23 Task/Handler: supabase-admin-agent - gpg dir609610fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored611ansible/tasks/internal/supabase-admin-agent.yml:24:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.612613name[casing]: All names should start with an uppercase letter. (warning) # ignored614ansible/tasks/internal/supabase-admin-agent.yml:30:9 Task/Handler: give supabase-admin-agent user permissions615616fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored617ansible/tasks/internal/supabase-admin-agent.yml:31:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.618619name[casing]: All names should start with an uppercase letter. (warning) # ignored620ansible/tasks/internal/supabase-admin-agent.yml:36:9 Task/Handler: supabase-admin-agent - pgbackrest helper scripts dir621622fqcn[action-core]: Use FQCN for builtin module actions (file). (warning) # ignored623ansible/tasks/internal/supabase-admin-agent.yml:37:3 Use `ansible.builtin.file` or `ansible.legacy.file` instead.624625name[casing]: All names should start with an uppercase letter. (warning) # ignored626ansible/tasks/internal/supabase-admin-agent.yml:44:9 Task/Handler: supabase-admin-agent - pgdata-chown script627628fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored629ansible/tasks/internal/supabase-admin-agent.yml:45:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.630631name[casing]: All names should start with an uppercase letter. (warning) # ignored632ansible/tasks/internal/supabase-admin-agent.yml:53:9 Task/Handler: supabase-admin-agent - pgdata-signal script633634fqcn[action-core]: Use FQCN for builtin module actions (copy). (warning) # ignored635ansible/tasks/internal/supabase-admin-agent.yml:54:3 Use `ansible.builtin.copy` or `ansible.legacy.copy` instead.636637risky-file-permissions: File permissions unset or incorrect. (warning) # ignored638ansible/tasks/internal/supabase-admin-agent.yml:63 Task/Handler: Download supabase-admin-agent archive639640fqcn[action-core]: Use FQCN for builtin module actions (get_url). (warning) # ignored641ansible/tasks/internal/supabase-admin-agent.yml:64:3 Use `ansible.builtin.get_url` or `ansible.legacy.get_url` instead.642643name[casing]: All names should start with an uppercase letter. (warning) # ignored644ansible/tasks/internal/supabase-admin-agent.yml:74:9 Task/Handler: supabase-admin-agent - unpack archive in /opt645646fqcn[action-core]: Use FQCN for builtin module actions (unarchive). (warning) # ignored647ansible/tasks/internal/supabase-admin-agent.yml:75:3 Use `ansible.builtin.unarchive` or `ansible.legacy.unarchive` instead.648649name[casing]: All names should start with an uppercase letter. (warning) # ignored650ansible/tasks/internal/supabase-admin-agent.yml:83:9 Task/Handler: supabase-admin-agent - create symlink651652name[casing]: All names should start with an uppercase letter. (warning) # ignored653ansible/tasks/internal/supabase-admin-agent.yml:92:9 Task/Handler: supabase-admin-agent - create salt systemd timer file654655risky-file-permissions: File permissions unset or incorrect. (warning) # ignored656ansible/tasks/internal/supabase-admin-agent.yml:92 Task/Handler: supabase-admin-agent - create salt systemd timer file657658fqcn[action-core]: Use FQCN for builtin module actions (template). (warning) # ignored659ansible/tasks/internal/supabase-admin-agent.yml:93:3 Use `ansible.builtin.template` or `ansible.legacy.template` instead.660661name[casing]: All names should start with an uppercase letter. (warning) # ignored662ansible/tasks/internal/supabase-admin-agent.yml:97:9 Task/Handler: supabase-admin-agent - create salt service file663664risky-file-permissions: File permissions unset or incorrect. (warning) # ignored665ansible/tasks/internal/supabase-admin-agent.yml:97 Task/Handler: supabase-admin-agent - create salt service file666667fqcn[action-core]: Use FQCN for builtin module actions (template). (warning) # ignored668ansible/tasks/internal/supabase-admin-agent.yml:98:3 Use `ansible.builtin.template` or `ansible.legacy.template` instead.669670name[casing]: All names should start with an uppercase letter. (warning) # ignored671ansible/tasks/internal/supabase-admin-agent.yml:102:9 Task/Handler: supabase-admin-agent - reload systemd672673fqcn[action-core]: Use FQCN for builtin module actions (systemd). (warning) # ignored674ansible/tasks/internal/supabase-admin-agent.yml:103:3 Use `ansible.builtin.systemd` or `ansible.legacy.systemd` instead.675676name[casing]: All names should start with an uppercase letter. (warning) # ignored677ansible/tasks/internal/supabase-admin-agent.yml:107:9 Task/Handler: supabase-admin-agent - DISABLE service678679fqcn[action-core]: Use FQCN for builtin module actions (systemd). (warning) # ignored680ansible/tasks/internal/supabase-admin-agent.yml:108:3 Use `ansible.builtin.systemd` or `ansible.legacy.systemd` instead.681682name[casing]: All names should start with an uppercase letter. (warning) # ignored683ansible/tasks/setup-fail2ban.yml:2:9 Task/Handler: do stage1 tasks684685name[casing]: All names should start with an uppercase letter. (warning) # ignored686ansible/tasks/setup-fail2ban.yml:5:13 Task/Handler: extend the default bantime to an hour687688name[casing]: All names should start with an uppercase letter. (warning) # ignored689ansible/tasks/setup-fail2ban.yml:12:13 Task/Handler: configure journald690691risky-file-permissions: File permissions unset or incorrect. (warning) # ignored692ansible/tasks/setup-fail2ban.yml:12 Task/Handler: configure journald693694name[casing]: All names should start with an uppercase letter. (warning) # ignored695ansible/tasks/setup-fail2ban.yml:17:13 Task/Handler: configure fail2ban to use nftables696697risky-file-permissions: File permissions unset or incorrect. (warning) # ignored698ansible/tasks/setup-fail2ban.yml:17 Task/Handler: configure fail2ban to use nftables699700name[casing]: All names should start with an uppercase letter. (warning) # ignored701ansible/tasks/setup-fail2ban.yml:23:13 Task/Handler: import jail.d/postgresql.conf702703risky-file-permissions: File permissions unset or incorrect. (warning) # ignored704ansible/tasks/setup-fail2ban.yml:23 Task/Handler: import jail.d/postgresql.conf705706name[casing]: All names should start with an uppercase letter. (warning) # ignored707ansible/tasks/setup-fail2ban.yml:29:13 Task/Handler: import filter.d/postgresql.conf708709risky-file-permissions: File permissions unset or incorrect. (warning) # ignored710ansible/tasks/setup-fail2ban.yml:29 Task/Handler: import filter.d/postgresql.conf711712name[casing]: All names should start with an uppercase letter. (warning) # ignored713ansible/tasks/setup-fail2ban.yml:35:13 Task/Handler: create overrides dir714715name[casing]: All names should start with an uppercase letter. (warning) # ignored716ansible/tasks/setup-fail2ban.yml:43:13 Task/Handler: custom systemd overrides717718risky-file-permissions: File permissions unset or incorrect. (warning) # ignored719ansible/tasks/setup-fail2ban.yml:43 Task/Handler: custom systemd overrides720721name[casing]: All names should start with an uppercase letter. (warning) # ignored722ansible/tasks/setup-fail2ban.yml:48:13 Task/Handler: add in supabase specific ignore filters723724name[casing]: All names should start with an uppercase letter. (warning) # ignored725ansible/tasks/setup-fail2ban.yml:65:13 Task/Handler: fail2ban - disable service726727name[casing]: All names should start with an uppercase letter. (warning) # ignored728ansible/tasks/setup-gotrue.yml:20:9 Task/Handler: gotrue - download commit archive729730risky-file-permissions: File permissions unset or incorrect. (warning) # ignored731ansible/tasks/setup-gotrue.yml:20 Task/Handler: gotrue - download commit archive732733name[casing]: All names should start with an uppercase letter. (warning) # ignored734ansible/tasks/setup-gotrue.yml:30:9 Task/Handler: gotrue - create /opt/gotrue and /etc/auth.d735736name[casing]: All names should start with an uppercase letter. (warning) # ignored737ansible/tasks/setup-gotrue.yml:42:9 Task/Handler: gotrue - unpack archive in /opt/gotrue738739name[casing]: All names should start with an uppercase letter. (warning) # ignored740ansible/tasks/setup-gotrue.yml:56:9 Task/Handler: gotrue - create service file741742risky-file-permissions: File permissions unset or incorrect. (warning) # ignored743ansible/tasks/setup-gotrue.yml:56 Task/Handler: gotrue - create service file744745name[casing]: All names should start with an uppercase letter. (warning) # ignored746ansible/tasks/setup-gotrue.yml:61:9 Task/Handler: gotrue - create optimizations file747748risky-file-permissions: File permissions unset or incorrect. (warning) # ignored749ansible/tasks/setup-gotrue.yml:61 Task/Handler: gotrue - create optimizations file750751name[casing]: All names should start with an uppercase letter. (warning) # ignored752ansible/tasks/setup-gotrue.yml:66:9 Task/Handler: gotrue - reload systemd753754risky-file-permissions: File permissions unset or incorrect. (warning) # ignored755ansible/tasks/setup-kong.yml:23 Task/Handler: Kong - download deb package756757fqcn[action-core]: Use FQCN for builtin module actions (get_url). (warning) # ignored758ansible/tasks/setup-kong.yml:24:3 Use `ansible.builtin.get_url` or `ansible.legacy.get_url` instead.759760no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored761ansible/tasks/setup-kong.yml:37 Task/Handler: Kong - ensure it is NOT autoremoved762763risky-file-permissions: File permissions unset or incorrect. (warning) # ignored764ansible/tasks/setup-kong.yml:41 Task/Handler: Kong - configuration765766risky-file-permissions: File permissions unset or incorrect. (warning) # ignored767ansible/tasks/setup-kong.yml:61 Task/Handler: Kong - create env file768769risky-file-permissions: File permissions unset or incorrect. (warning) # ignored770ansible/tasks/setup-kong.yml:66 Task/Handler: Kong - create service file771772name[casing]: All names should start with an uppercase letter. (warning) # ignored773ansible/tasks/setup-kvm-timesync.yml:3:9 Task/Handler: phc2sys - install774775name[casing]: All names should start with an uppercase letter. (warning) # ignored776ansible/tasks/setup-kvm-timesync.yml:8:9 Task/Handler: phc2sys - create service file777778risky-file-permissions: File permissions unset or incorrect. (warning) # ignored779ansible/tasks/setup-kvm-timesync.yml:8 Task/Handler: phc2sys - create service file780781name[casing]: All names should start with an uppercase letter. (warning) # ignored782ansible/tasks/setup-kvm-timesync.yml:13:9 Task/Handler: phc2sys - enable service783784name[casing]: All names should start with an uppercase letter. (warning) # ignored785ansible/tasks/setup-kvm-timesync.yml:20:9 Task/Handler: phc2sys - remove systemd-timesyncd786787name[casing]: All names should start with an uppercase letter. (warning) # ignored788ansible/tasks/setup-kvm-timesync.yml:29:9 Task/Handler: ptp_kvm.ko - enable789790risky-file-permissions: File permissions unset or incorrect. (warning) # ignored791ansible/tasks/setup-kvm-timesync.yml:29 Task/Handler: ptp_kvm.ko - enable792793name[casing]: All names should start with an uppercase letter. (warning) # ignored794ansible/tasks/setup-migrations.yml:1:9 Task/Handler: run stage2 tasks795796no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored797ansible/tasks/setup-migrations.yml:4 Task/Handler: Run migrate.sh script798799risky-file-permissions: File permissions unset or incorrect. (warning) # ignored800ansible/tasks/setup-migrations.yml:13 Task/Handler: Create /root/MIGRATION-AMI file801802no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored803ansible/tasks/setup-pgbouncer.yml:18 Task/Handler: Install PgBouncer from nix binary cache804805name[casing]: All names should start with an uppercase letter. (warning) # ignored806ansible/tasks/setup-pgbouncer.yml:47:9 Task/Handler: create PgBouncer placeholder config files807808name[casing]: All names should start with an uppercase letter. (warning) # ignored809ansible/tasks/setup-pgbouncer.yml:76:9 Task/Handler: import /etc/tmpfiles.d/pgbouncer.conf810811risky-file-permissions: File permissions unset or incorrect. (warning) # ignored812ansible/tasks/setup-pgbouncer.yml:76 Task/Handler: import /etc/tmpfiles.d/pgbouncer.conf813814name[casing]: All names should start with an uppercase letter. (warning) # ignored815ansible/tasks/setup-pgbouncer.yml:99:9 Task/Handler: import jail.d/pgbouncer.conf816817risky-file-permissions: File permissions unset or incorrect. (warning) # ignored818ansible/tasks/setup-pgbouncer.yml:99 Task/Handler: import jail.d/pgbouncer.conf819820name[casing]: All names should start with an uppercase letter. (warning) # ignored821ansible/tasks/setup-pgbouncer.yml:105:9 Task/Handler: import filter.d/pgbouncer.conf822823risky-file-permissions: File permissions unset or incorrect. (warning) # ignored824ansible/tasks/setup-pgbouncer.yml:105 Task/Handler: import filter.d/pgbouncer.conf825826risky-file-permissions: File permissions unset or incorrect. (warning) # ignored827ansible/tasks/setup-pgbouncer.yml:112 Task/Handler: PgBouncer - import pgbouncer.service828829name[casing]: All names should start with an uppercase letter. (warning) # ignored830ansible/tasks/setup-postgres.yml:1:9 Task/Handler: execute stage1 tasks831832name[casing]: All names should start with an uppercase letter. (warning) # ignored833ansible/tasks/setup-postgres.yml:6:13 Task/Handler: create ssl-cert group834835name[casing]: All names should start with an uppercase letter. (warning) # ignored836ansible/tasks/setup-postgres.yml:12:13 Task/Handler: create postgres group837838name[casing]: All names should start with an uppercase letter. (warning) # ignored839ansible/tasks/setup-postgres.yml:18:13 Task/Handler: create postgres user840841name[casing]: All names should start with an uppercase letter. (warning) # ignored842ansible/tasks/setup-postgres.yml:71:13 Task/Handler: create placeholder config files843844name[casing]: All names should start with an uppercase letter. (warning) # ignored845ansible/tasks/setup-postgres.yml:84:13 Task/Handler: import postgresql.conf, pg_hba.conf, and pg_ident.conf846847risky-file-permissions: File permissions unset or incorrect. (warning) # ignored848ansible/tasks/setup-postgres.yml:84 Task/Handler: import postgresql.conf, pg_hba.conf, and pg_ident.conf849850risky-file-permissions: File permissions unset or incorrect. (warning) # ignored851ansible/tasks/setup-postgres.yml:134 Task/Handler: Make sure .bashrc exists852853name[casing]: All names should start with an uppercase letter. (warning) # ignored854ansible/tasks/setup-postgres.yml:141:9 Task/Handler: execute stage2 tasks855856name[casing]: All names should start with an uppercase letter. (warning) # ignored857ansible/tasks/setup-postgres.yml:144:13 Task/Handler: install locales858859name[casing]: All names should start with an uppercase letter. (warning) # ignored860ansible/tasks/setup-postgres.yml:149:13 Task/Handler: configure locales861862risky-file-permissions: File permissions unset or incorrect. (warning) # ignored863ansible/tasks/setup-postgres.yml:149 Task/Handler: configure locales864865name[casing]: All names should start with an uppercase letter. (warning) # ignored866ansible/tasks/setup-postgres.yml:161:13 Task/Handler: locale-gen867868no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored869ansible/tasks/setup-postgres.yml:161 Task/Handler: locale-gen870871name[casing]: All names should start with an uppercase letter. (warning) # ignored872ansible/tasks/setup-postgres.yml:165:13 Task/Handler: update-locale873874no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored875ansible/tasks/setup-postgres.yml:165 Task/Handler: update-locale876877name[casing]: All names should start with an uppercase letter. (warning) # ignored878ansible/tasks/setup-postgres.yml:173:13 Task/Handler: stage2 postgres tasks879880no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored881ansible/tasks/setup-postgres.yml:188 Task/Handler: Initialize the database stage2 (PG15)882883no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored884ansible/tasks/setup-postgres.yml:203 Task/Handler: Initialize the database stage2 (PG17+)885886name[casing]: All names should start with an uppercase letter. (warning) # ignored887ansible/tasks/setup-postgres.yml:218:9 Task/Handler: copy PG apparmor profile888889name[casing]: All names should start with an uppercase letter. (warning) # ignored890ansible/tasks/setup-postgres.yml:226:9 Task/Handler: ensure apparmor-utils are installed891892name[casing]: All names should start with an uppercase letter. (warning) # ignored893ansible/tasks/setup-postgres.yml:230:9 Task/Handler: parse apparmor sbpostgres profile894895no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored896ansible/tasks/setup-postgres.yml:230 Task/Handler: parse apparmor sbpostgres profile897898name[casing]: All names should start with an uppercase letter. (warning) # ignored899ansible/tasks/setup-postgres.yml:234:9 Task/Handler: reload apparmor with sbpostgres profile900901no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored902ansible/tasks/setup-postgres.yml:234 Task/Handler: reload apparmor with sbpostgres profile903904name[casing]: All names should start with an uppercase letter. (warning) # ignored905ansible/tasks/setup-postgres.yml:238:9 Task/Handler: copy PG and optimizations systemd units906907risky-file-permissions: File permissions unset or incorrect. (warning) # ignored908ansible/tasks/setup-postgres.yml:238 Task/Handler: copy PG and optimizations systemd units909910name[casing]: All names should start with an uppercase letter. (warning) # ignored911ansible/tasks/setup-postgres.yml:249:9 Task/Handler: initialize pg required state912913risky-file-permissions: File permissions unset or incorrect. (warning) # ignored914ansible/tasks/setup-postgres.yml:249 Task/Handler: initialize pg required state915916no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored917ansible/tasks/setup-postgres.yml:259 Task/Handler: Restart Postgres Database without Systemd918919risky-file-permissions: File permissions unset or incorrect. (warning) # ignored920ansible/tasks/setup-postgres.yml:314 Task/Handler: Add lang and locale items to .bashrc921922jinja[spacing]: Jinja2 spacing could be improved: {{postgrest_artifacts['signingkey']['url']}} -> {{ postgrest_artifacts['signingkey']['url'] }} (warning) # ignored923ansible/tasks/setup-postgrest.yml:16:10 Jinja2 template rewrite recommendation: `{{ postgrest_artifacts['signingkey']['url'] }}`.924925jinja[spacing]: Jinja2 spacing could be improved: {{postgrest_artifacts['signingkey']['checksum']}} -> {{ postgrest_artifacts['signingkey']['checksum'] }} (warning) # ignored926ansible/tasks/setup-postgrest.yml:17:15 Jinja2 template rewrite recommendation: `{{ postgrest_artifacts['signingkey']['checksum'] }}`.927928name[casing]: All names should start with an uppercase letter. (warning) # ignored929ansible/tasks/setup-postgrest.yml:57:9 Task/Handler: postgis - ensure dependencies do not get autoremoved930931no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored932ansible/tasks/setup-postgrest.yml:57 Task/Handler: postgis - ensure dependencies do not get autoremoved933934name[casing]: All names should start with an uppercase letter. (warning) # ignored935ansible/tasks/setup-postgrest.yml:61:9 Task/Handler: postgis - allow libnuma-dev to be autoremoved936937no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored938ansible/tasks/setup-postgrest.yml:61 Task/Handler: postgis - allow libnuma-dev to be autoremoved939940risky-file-permissions: File permissions unset or incorrect. (warning) # ignored941ansible/tasks/setup-postgrest.yml:65 Task/Handler: PostgREST - download ubuntu binary archive (arm)942943name[casing]: All names should start with an uppercase letter. (warning) # ignored944ansible/tasks/setup-postgrest.yml:84:9 Task/Handler: create directories945946name[casing]: All names should start with an uppercase letter. (warning) # ignored947ansible/tasks/setup-postgrest.yml:92:9 Task/Handler: empty files948949risky-file-permissions: File permissions unset or incorrect. (warning) # ignored950ansible/tasks/setup-postgrest.yml:92 Task/Handler: empty files951952name[casing]: All names should start with an uppercase letter. (warning) # ignored953ansible/tasks/setup-postgrest.yml:104:9 Task/Handler: create conf merging script954955risky-file-permissions: File permissions unset or incorrect. (warning) # ignored956ansible/tasks/setup-postgrest.yml:117 Task/Handler: PostgREST - create service files957958name[casing]: All names should start with an uppercase letter. (warning) # ignored959ansible/tasks/setup-supabase-internal.yml:5:9 Task/Handler: download Vector package960961risky-file-permissions: File permissions unset or incorrect. (warning) # ignored962ansible/tasks/setup-supabase-internal.yml:5 Task/Handler: download Vector package963964name[casing]: All names should start with an uppercase letter. (warning) # ignored965ansible/tasks/setup-supabase-internal.yml:23:9 Task/Handler: add vector system group966967name[casing]: All names should start with an uppercase letter. (warning) # ignored968ansible/tasks/setup-supabase-internal.yml:29:9 Task/Handler: add vector system user969970name[casing]: All names should start with an uppercase letter. (warning) # ignored971ansible/tasks/setup-supabase-internal.yml:40:9 Task/Handler: install Vector for logging972973fqcn[action-core]: Use FQCN for builtin module actions (apt). (warning) # ignored974ansible/tasks/setup-supabase-internal.yml:41:3 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead.975976name[casing]: All names should start with an uppercase letter. (warning) # ignored977ansible/tasks/setup-supabase-internal.yml:45:9 Task/Handler: create service files for Vector978979risky-file-permissions: File permissions unset or incorrect. (warning) # ignored980ansible/tasks/setup-supabase-internal.yml:45 Task/Handler: create service files for Vector981982name[casing]: All names should start with an uppercase letter. (warning) # ignored983ansible/tasks/setup-supabase-internal.yml:50:9 Task/Handler: configure tmpfiles for postgres - overwrites upstream package984985risky-file-permissions: File permissions unset or incorrect. (warning) # ignored986ansible/tasks/setup-supabase-internal.yml:50 Task/Handler: configure tmpfiles for postgres - overwrites upstream package987988name[casing]: All names should start with an uppercase letter. (warning) # ignored989ansible/tasks/setup-supabase-internal.yml:55:9 Task/Handler: fix permissions for vector config to be managed990991name[casing]: All names should start with an uppercase letter. (warning) # ignored992ansible/tasks/setup-supabase-internal.yml:64:9 Task/Handler: vector - reload systemd993994risky-file-permissions: File permissions unset or incorrect. (warning) # ignored995ansible/tasks/setup-supabase-internal.yml:68 Task/Handler: Create checkpoints dir996997no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored998ansible/tasks/setup-supabase-internal.yml:129 Task/Handler: Envoy - use lds.supabase.yaml for /etc/envoy/lds.yaml9991000name[casing]: All names should start with an uppercase letter. (warning) # ignored1001ansible/tasks/setup-supautils.yml:4:13 Task/Handler: supautils - add supautils to session_preload_libraries10021003name[casing]: All names should start with an uppercase letter. (warning) # ignored1004ansible/tasks/setup-supautils.yml:11:13 Task/Handler: supautils - write custom supautils.conf10051006name[casing]: All names should start with an uppercase letter. (warning) # ignored1007ansible/tasks/setup-supautils.yml:19:13 Task/Handler: supautils - copy extension custom scripts10081009risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1010ansible/tasks/setup-supautils.yml:19 Task/Handler: supautils - copy extension custom scripts10111012name[casing]: All names should start with an uppercase letter. (warning) # ignored1013ansible/tasks/setup-supautils.yml:25:13 Task/Handler: supautils - chown extension custom scripts10141015name[casing]: All names should start with an uppercase letter. (warning) # ignored1016ansible/tasks/setup-supautils.yml:34:13 Task/Handler: supautils - include /etc/postgresql-custom/supautils.conf in postgresql.conf10171018name[casing]: All names should start with an uppercase letter. (warning) # ignored1019ansible/tasks/setup-system.yml:75:13 Task/Handler: restart ufw10201021risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1022ansible/tasks/setup-system.yml:80 Task/Handler: Create Sysstat log directory10231024risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1025ansible/tasks/setup-system.yml:85 Task/Handler: Configure sysstat10261027risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1028ansible/tasks/setup-system.yml:95 Task/Handler: Adjust APT update intervals10291030risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1031ansible/tasks/setup-system.yml:112 Task/Handler: Disable kexec handover10321033risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1034ansible/tasks/setup-system.yml:123 Task/Handler: Enable zswap10351036risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1037ansible/tasks/setup-system.yml:166 Task/Handler: System - Create services.slice10381039risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1040ansible/tasks/setup-system.yml:175 Task/Handler: Configure journald and logind10411042name[casing]: All names should start with an uppercase letter. (warning) # ignored1043ansible/tasks/setup-system.yml:185:13 Task/Handler: reload systemd-journald10441045name[casing]: All names should start with an uppercase letter. (warning) # ignored1046ansible/tasks/setup-system.yml:195:13 Task/Handler: enable timestamps for shell history10471048name[casing]: All names should start with an uppercase letter. (warning) # ignored1049ansible/tasks/setup-system.yml:204:13 Task/Handler: configure systemd's pager10501051name[casing]: All names should start with an uppercase letter. (warning) # ignored1052ansible/tasks/setup-system.yml:213:9 Task/Handler: set hosts file10531054name[casing]: All names should start with an uppercase letter. (warning) # ignored1055ansible/tasks/setup-system.yml:224:9 Task/Handler: configure NTP client10561057name[casing]: All names should start with an uppercase letter. (warning) # ignored1058ansible/tasks/setup-system.yml:227:13 Task/Handler: ensure conf directory exists10591060name[casing]: All names should start with an uppercase letter. (warning) # ignored1061ansible/tasks/setup-system.yml:233:13 Task/Handler: configure NTP server10621063name[casing]: All names should start with an uppercase letter. (warning) # ignored1064ansible/tasks/setup-tmux.yml:1:9 Task/Handler: tmux - Install tmux10651066name[casing]: All names should start with an uppercase letter. (warning) # ignored1067ansible/tasks/setup-tmux.yml:7:9 Task/Handler: tmux - Configure tmux alias10681069name[casing]: All names should start with an uppercase letter. (warning) # ignored1070ansible/tasks/setup-tmux.yml:19:9 Task/Handler: tmux - Configure tmux10711072name[casing]: All names should start with an uppercase letter. (warning) # ignored1073ansible/tasks/setup-tmux.yml:28:9 Task/Handler: tmux - Auto-logout from stale tmux10741075no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored1076ansible/tasks/setup-wal-g.yml:37 Task/Handler: Install wal-g 2 from nix binary cache10771078no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored1079ansible/tasks/setup-wal-g.yml:45 Task/Handler: Install wal-g 3 from nix binary cache10801081no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored1082ansible/tasks/stage2-setup-postgres.yml:65 Task/Handler: Install postgres env from nix binary cache10831084no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored1085ansible/tasks/stage2-setup-postgres.yml:72 Task/Handler: Install and activate site env from nix binary cache10861087yaml[commas]: Too many spaces before comma (warning) # ignored1088ansible/tasks/stage2-setup-postgres.yml:8710891090name[casing]: All names should start with an uppercase letter. (warning) # ignored1091ansible/tasks/stage2-setup-postgres.yml:97:13 Task/Handler: import pgsodium_getkey script10921093name[casing]: All names should start with an uppercase letter. (warning) # ignored1094ansible/tasks/stage2-setup-postgres.yml:119:13 Task/Handler: setup gatekeeper10951096no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored1097ansible/tasks/stage2-setup-postgres.yml:124 Task/Handler: Create symbolic link for linux-pam to find pam_jit_pg.so10981099fqcn[action-core]: Use FQCN for builtin module actions (shell). (warning) # ignored1100ansible/tasks/stage2-setup-postgres.yml:126:15 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.11011102no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored1103ansible/tasks/stage2-setup-postgres.yml:129 Task/Handler: Get gatekeeper version11041105risky-shell-pipe: Shells that use pipes should set the pipefail option. (warning) # ignored1106ansible/tasks/stage2-setup-postgres.yml:129 Task/Handler: Get gatekeeper version11071108risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1109ansible/tasks/stage2-setup-postgres.yml:136 Task/Handler: Write version file11101111name[casing]: All names should start with an uppercase letter. (warning) # ignored1112ansible/tasks/stage2-setup-postgres.yml:208:13 Task/Handler: create destination directory11131114name[casing]: All names should start with an uppercase letter. (warning) # ignored1115ansible/tasks/stage2-setup-postgres.yml:215:13 Task/Handler: pgsodium - set pgsodium.getkey_script11161117risky-file-permissions: File permissions unset or incorrect. (warning) # ignored1118ansible/tasks/test-image.yml:4 Task/Handler: Make a backup of the /etc/postgresql/postgresql.conf file11191120no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored1121ansible/tasks/test-image.yml:41 Task/Handler: Restart Postgres Database in stage 2 to load all extensions11221123no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored1124ansible/tasks/test-image.yml:58 Task/Handler: Re-enable PG Sodium references in /etc/postgresql/postgresql.conf11251126no-changed-when: Commands should not change things if nothing needs doing. (warning) # ignored1127ansible/tasks/test-image.yml:82 Task/Handler: Restart Postgres Database in stage 2 to load all extensions112811291130Passed: 0 failure(s), 367 warning(s) on 172 files. Last profile that met the validation criteria was 'production'.11311132shellcheck...............................................................Failed1133- hook id: shellcheck1134- exit code: 111351136In ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh line 690:1137 timeout -k "${KILL_AFTER}" "${MAX_DURATION}" ${PGBINOLD}/pg_checksums -e "${PGDATAOLD}" || STATUS=$?1138 ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.11391140Did you mean:1141 timeout -k "${KILL_AFTER}" "${MAX_DURATION}" "${PGBINOLD}"/pg_checksums -e "${PGDATAOLD}" || STATUS=$?11421143For more information:1144 https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...11451146In ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh line 120:1147 log "$(ls -l /proc/* 2>/dev/null | grep 'data' || true)"1148 ^-- SC2010 (warning): Don't use ls | grep. Use a glob or a for loop with a condition to allow non-alphanumeric filenames.11491150For more information:1151 https://www.shellcheck.net/wiki/SC2010 -- Don't use ls | grep. Use a glob o...11521153treefmt..................................................................Failed1154- hook id: treefmt1155- duration: 0.59s1156- exit code: 11157- files were modified by this hook11581159ERRO file has changed path=ansible/files/admin_api_scripts/pg_upgrade_scripts/common.sh prev_size=25221 prev_mod_time="1970-01-01 00:00:01 +0000 UTC" current_size=25220 current_mod_time="2026-11-05 14:39:47 +0000 UTC"1160ERRO file has changed path=ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh prev_size=31356 prev_mod_time="1970-01-01 00:00:01 +0000 UTC" current_size=31181 current_mod_time="2026-11-05 14:39:47 +0000 UTC"1161ERRO file has changed path=ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh prev_size=4706 prev_mod_time="1970-01-01 00:00:01 +0000 UTC" current_size=4661 current_mod_time="2026-11-05 14:39:47 +0000 UTC"1162ERRO file has changed path=ansible/files/admin_api_scripts/pg_upgrade_scripts/start_guard.sh prev_size=8757 prev_mod_time="1970-01-01 00:00:01 +0000 UTC" current_size=8754 current_mod_time="2026-11-05 14:39:47 +0000 UTC"1163traversed 940 files1164emitted 234 files for processing1165formatted 234 files (4 changed) in 583ms1166Error: unexpected changes detected, --fail-on-change is enabled11671168versioning-scheme........................................................Passed1169- hook id: versioning-scheme1170- duration: 0.01s1171diff --git a/ansible/files/admin_api_scripts/pg_upgrade_scripts/common.sh b/ansible/files/admin_api_scripts/pg_upgrade_scripts/common.sh1172index 671c392..1cbe9f2 1007551173--- a/ansible/files/admin_api_scripts/pg_upgrade_scripts/common.sh1174+++ b/ansible/files/admin_api_scripts/pg_upgrade_scripts/common.sh1175@@ -1,6 +1,6 @@1176 #! /usr/bin/env bash1177 1178-# Common functions and variables used by 1179+# Common functions and variables used by1180 # prepare.sh, initiate.sh and complete.sh1181 1182 #staging/prod1183diff --git a/ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh b/ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh1184index bd01384..ca09fcb 1007551185--- a/ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh1186+++ b/ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh1187@@ -133,11 +133,11 @@ cleanup() {1188 # can fail under set -e, or the restart below would be refused.1189 unblock_postgres_start || log "WARNING: failed to lift the postgres start block; check /run/systemd/system/postgresql.service.d"1190 1191- # jparem : $LOG_FILE exists, even if directory1192- # ${MOUNT_POINT}/pgdata/pg_upgrade_output.d/ does not!1193- # so removing the ship-ing of the log here rather than the conditional block1194- # down there..1195- # https://linear.app/supabase/issue/MPG-1531/initiatesh-call-ship-logs-no-matter-what1196+ # jparem : $LOG_FILE exists, even if directory1197+ # ${MOUNT_POINT}/pgdata/pg_upgrade_output.d/ does not!1198+ # so removing the ship-ing of the log here rather than the conditional block1199+ # down there..1200+ # https://linear.app/supabase/issue/MPG-1531/initiatesh-call-ship-logs-no-matter-what1201 ship_logs "$LOG_FILE" || true1202 1203 if [ -d "${MOUNT_POINT}/pgdata/pg_upgrade_output.d/" ]; then1204@@ -661,71 +661,71 @@ EOF1205 CI_stop_postgres1206 fi1207 1208- #CHECKSUM_FLAG="--data-checksums" if the SOURCE cluster has checksums1209- #CHECKSUM_FLAG="" if the SOURCE doesn't have them (yet)1210- # in this case the following code adds them1211+ #CHECKSUM_FLAG="--data-checksums" if the SOURCE cluster has checksums1212+ #CHECKSUM_FLAG="" if the SOURCE doesn't have them (yet)1213+ # in this case the following code adds them1214 1215- if [[ "$CHECKSUM_FLAG" == "" ]]; then1216+ if [[ $CHECKSUM_FLAG == "" ]]; then1217 1218- # old db hasn't got checksum, we will enable it its overall size 1219- # (${PGDATAOLD}) is <= 20 Gb1220+ # old db hasn't got checksum, we will enable it its overall size1221+ # (${PGDATAOLD}) is <= 20 Gb1222 1223- # 20 gb = 20 x 1024 x 1024 = 20971520 1224- MAX_SIZE=209715201225- 1226- PGDATAOLD_SIZE=$(du -sk "${PGDATAOLD}" | cut -f1)1227+ # 20 gb = 20 x 1024 x 1024 = 209715201228+ MAX_SIZE=209715201229 1230- if [[ "$PGDATAOLD_SIZE" -le "$MAX_SIZE" ]]; then1231+ PGDATAOLD_SIZE=$(du -sk "${PGDATAOLD}" | cut -f1)1232 1233- log "9.1 adding checksums to SOURCE PG (<20 Gb)"1234+ if [[ $PGDATAOLD_SIZE -le $MAX_SIZE ]]; then1235 1236- # we're adding a timer: the "pg_checksum -e" operation on ${PGDATAOLD} must1237- # not run for more than 10 minutes otherwise we exist this code on error1238- # ofc, if the pg_checksums detects a physical corruption, we have to exit1239- # the program with a consistent message explaining the corruption1240- 1241- MAX_DURATION="10m"1242- KILL_AFTER="15s"1243+ log "9.1 adding checksums to SOURCE PG (<20 Gb)"1244 1245- timeout -k "${KILL_AFTER}" "${MAX_DURATION}" ${PGBINOLD}/pg_checksums -e "${PGDATAOLD}" || STATUS=$?1246+ # we're adding a timer: the "pg_checksum -e" operation on ${PGDATAOLD} must1247+ # not run for more than 10 minutes otherwise we exist this code on error1248+ # ofc, if the pg_checksums detects a physical corruption, we have to exit1249+ # the program with a consistent message explaining the corruption1250 1251- # if everything is fine, $STATUS hasn't been defined, 1252- # so we initialize it with 0 because it's a success 1253- STATUS=${STATUS:-0}1254+ MAX_DURATION="10m"1255+ KILL_AFTER="15s"1256+1257+ timeout -k "${KILL_AFTER}" "${MAX_DURATION}" ${PGBINOLD}/pg_checksums -e "${PGDATAOLD}" || STATUS=$?1258+1259+ # if everything is fine, $STATUS hasn't been defined,1260+ # so we initialize it with 0 because it's a success1261+ STATUS=${STATUS:-0}1262 1263 # we'll manage ERROR codes down there, to actually log anything1264 # properly, for later diagnostic reading the $LOG_FILE into project1265 # where it has been shipped ship_logs() in common.sh1266 1267- case $STATUS in1268- 0) 1269- log "adding checksums SUCCEEDED."1270- ;;1271- 124|137) 1272- log "adding checksums FAILED. Max time (${MAX_DURATION}) reached! Process killed."1273- exit 1241274- ;;1275- *)1276- log "adding checksum FAILED with Error code ${STATUS}"1277- exit "$STATUS"1278- ;;1279- esac1280-1281- # we're here if everything went well with STATUS=01282- # so now, checksums are enabled on the SOURCE! 1283- CHECKSUM_FLAG="--data-checksums"1284- 1285- else1286-1287- log "9.1 did *not* add checksum to SOURCE PG: size $PGDATAOLD_SIZE > 20 Gb!"1288-1289- fi1290-1291- else1292- 1293- log "9.1 checksums already present on SOURCE"1294-1295- fi1296+ case $STATUS in1297+ 0)1298+ log "adding checksums SUCCEEDED."1299+ ;;1300+ 124 | 137)1301+ log "adding checksums FAILED. Max time (${MAX_DURATION}) reached! Process killed."1302+ exit 1241303+ ;;1304+ *)1305+ log "adding checksum FAILED with Error code ${STATUS}"1306+ exit "$STATUS"1307+ ;;1308+ esac1309+1310+ # we're here if everything went well with STATUS=01311+ # so now, checksums are enabled on the SOURCE!1312+ CHECKSUM_FLAG="--data-checksums"1313+1314+ else1315+1316+ log "9.1 did *not* add checksum to SOURCE PG: size $PGDATAOLD_SIZE > 20 Gb!"1317+1318+ fi1319+1320+ else1321+1322+ log "9.1 checksums already present on SOURCE"1323+1324+ fi1325 1326 log "10. Creating new data directory, initializing database"1327 chown -R postgres:postgres "$MOUNT_POINT/"1328diff --git a/ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh b/ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh1329index a873e77..66ab293 1007551330--- a/ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh1331+++ b/ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh1332@@ -26,7 +26,7 @@ chmod 640 "$LOG_FILE"1333 # file, a previous attempt has run and failed.1334 RETRY=01335 if grep -qF "prepare.sh started" "$LOG_FILE"; then1336- RETRY=11337+ RETRY=11338 fi1339 1340 # From here on, everything written to stdout/stderr (log messages, but also1341@@ -44,8 +44,8 @@ trap 'log "prepare.sh FAILED at line $LINENO: \"$BASH_COMMAND\" (exit code $?)"'1342 # Source the shared helpers (log and ship_logs functions)1343 # shellcheck disable=SC10911344 source "$SCRIPT_DIR/common.sh" || {1345- log "cannot source $SCRIPT_DIR/common.sh"1346- exit 11347+ log "cannot source $SCRIPT_DIR/common.sh"1348+ exit 11349 }1350 1351 # ship_logs reads these variables, and "set -u" would abort the script on an1352@@ -61,23 +61,23 @@ source "$SCRIPT_DIR/common.sh" || {1353 # retry, so the caller handles the "gave up" case.1354 # The script's exit code is always preserved for the caller.1355 on_exit() {1356- local rc=$?1357- trap - EXIT ERR # avoid re-entering the traps from inside this handler1358-1359- if [ "$rc" -eq 0 ]; then1360- if [ "$RETRY" -eq 0 ]; then1361- log "prepare.sh ended with no errors."1362- else1363- log "prepare.sh finally ended without error this time."1364- fi1365- # Single upload of the log file; never fatal1366- if declare -F ship_logs >/dev/null; then1367- ship_logs "$LOG_FILE" || log "Log upload failed (non-blocking)."1368- else1369- log "ship_logs is not available, log upload skipped."1370- fi1371- fi1372- exit "$rc"1373+ local rc=$?1374+ trap - EXIT ERR # avoid re-entering the traps from inside this handler1375+1376+ if [ "$rc" -eq 0 ]; then1377+ if [ "$RETRY" -eq 0 ]; then1378+ log "prepare.sh ended with no errors."1379+ else1380+ log "prepare.sh finally ended without error this time."1381+ fi1382+ # Single upload of the log file; never fatal1383+ if declare -F ship_logs >/dev/null; then1384+ ship_logs "$LOG_FILE" || log "Log upload failed (non-blocking)."1385+ else1386+ log "ship_logs is not available, log upload skipped."1387+ fi1388+ fi1389+ exit "$rc"1390 }1391 trap on_exit EXIT1392 1393@@ -86,7 +86,10 @@ trap on_exit EXIT1394 log "prepare.sh started."1395 1396 # check that /data is actually mounted1397-mountpoint -q /data || { log "/data is not mounted"; exit 1; }1398+mountpoint -q /data || {1399+ log "/data is not mounted"1400+ exit 11401+}1402 1403 # stop postgresql: "systemctl stop blocks until the unit has fully stopped"1404 # https://linear.app/supabase/issue/MPG-1283/harden-a-bit-preparesh#comment-cea7446f1405@@ -95,17 +98,19 @@ systemctl stop postgresql1406 1407 # ...but let's still verify that the service is explicitly stopped1408 if systemctl is-active --quiet postgresql; then1409- log "postgresql service is still active!"; exit 11410+ log "postgresql service is still active!"1411+ exit 11412 fi1413 1414 # ...and that there are no remaining postgres processes1415 if pgrep -x postgres >/dev/null; then1416- log "postgres processes are still alive!"; exit 11417+ log "postgres processes are still alive!"1418+ exit 11419 fi1420 1421 # copy the pgsodium root key with proper owner and permissions1422 install -m 600 -o postgres -g postgres \1423- /etc/postgresql-custom/pgsodium_root.key /data/pgsodium_root.key1424+ /etc/postgresql-custom/pgsodium_root.key /data/pgsodium_root.key1425 1426 # flush cached writes to persistent storage1427 sync1428@@ -113,12 +118,12 @@ sync1429 # Unmount /data. Capture the native umount error message and route it through1430 # "log" so that it is timestamped like the rest of the log entries.1431 if ! umount_out=$(umount /data 2>&1); then1432- log "Unable to unmount /data: $umount_out"1433- # List the processes still using /data ("|| true" so a fuser failure1434- # does not trigger the ERR trap and mask the real cause)1435- log "Processes using /data:"1436- log "$(ls -l /proc/* 2>/dev/null | grep 'data' || true)"1437- exit 11438+ log "Unable to unmount /data: $umount_out"1439+ # List the processes still using /data ("|| true" so a fuser failure1440+ # does not trigger the ERR trap and mask the real cause)1441+ log "Processes using /data:"1442+ log "$(ls -l /proc/* 2>/dev/null | grep 'data' || true)"1443+ exit 11444 fi1445 1446 # Reaching this point means success: the final message and the log upload1447diff --git a/ansible/files/admin_api_scripts/pg_upgrade_scripts/start_guard.sh b/ansible/files/admin_api_scripts/pg_upgrade_scripts/start_guard.sh1448index c40fe69..1537a5c 1007551449--- a/ansible/files/admin_api_scripts/pg_upgrade_scripts/start_guard.sh1450+++ b/ansible/files/admin_api_scripts/pg_upgrade_scripts/start_guard.sh1451@@ -4,9 +4,9 @@1452 # file copy. Sourced by initiate.sh and tests/pg_upgrade/test-start-guard.sh.1453 # Expects log, IS_CI, PGDATAOLD and PGDATANEW from the caller.1454 1455-# From step 9 until cleanup, nothing may start the source postgres: 1456-# 1457-# If it has to run, "pg_checksums -e" will operate on the source postgres, and 1458+# From step 9 until cleanup, nothing may start the source postgres:1459+#1460+# If it has to run, "pg_checksums -e" will operate on the source postgres, and1461 # this one has to stay stopped during the whole operation1462 #1463 # pg_upgrade copies the data files without a postmaster holding the directory,