Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add convenience package vardef export #29

Merged
merged 1 commit into from
Apr 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions tasks/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

- name: Set global facts
ansible.builtin.set_fact:
_postgresql_package_server: "{{ postgresql_package_server | default(_default_package_server) }}"
_postgresql_package_client: "{{ postgresql_package_client | default(_default_package_server) }}"
_postgresql_package_all: "{{ _package_server + _package_client}}"

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / lint

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (initdb, debian12, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (hold, debian12, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (hold, debian11, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (stop, debian11, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (mask, debian11, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (hold, ubuntu2204, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (hold, rockylinux9, /usr/lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (stop, rockylinux9, /usr/lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (initdb, debian11, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (stop, debian12, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (initdb, ubuntu2204, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (initdb, rockylinux9, /usr/lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (initdb, ubuntu2004, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (configure, debian12, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (deploy, rockylinux9, /usr/lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (hold, ubuntu2004, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (mask, ubuntu2204, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (deploy, ubuntu2204, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (configure, debian11, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (mask, rockylinux9, /usr/lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (configure, rockylinux9, /usr/lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (mask, debian12, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (deploy, debian12, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (databases, debian12, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (stop, ubuntu2204, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (stop, ubuntu2004, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (mask, ubuntu2004, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (databases, ubuntu2004, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (deploy, ubuntu2004, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (deploy, debian11, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (databases, ubuntu2204, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (configure, ubuntu2204, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (configure, ubuntu2004, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (databases, debian11, /lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}

Check warning on line 7 in tasks/vars.yml

View workflow job for this annotation

GitHub Actions / molecule (databases, rockylinux9, /usr/lib/systemd/systemd)

jinja[spacing]

Jinja2 spacing could be improved: {{ _package_server + _package_client}} -> {{ _package_server + _package_client }}
_postgresql_package_server: "{{ _package_server }}"
_postgresql_package_client: "{{ _package_client }}"
_postgresql_package_extra: "{{ postgresql_package_extra | default(_default_package_extra) }}"
_postgresql_service_name: "{{ postgresql_service_name | default(_default_service) }}"
_postgresql_user: "{{ postgresql_user }}"
Expand Down Expand Up @@ -37,6 +38,8 @@
_default_package_client: "{{ __postgresql_package_client | nephelaiio.plugins.sorted_get(_conf_search) }}"
_default_package_extra: "{{ __postgresql_package_extra | nephelaiio.plugins.sorted_get(_conf_search) }}"
_default_service: "{{ __postgresql_service_name | nephelaiio.plugins.sorted_get(_conf_search) }}"
_package_server: "{{ postgresql_package_server | default(_default_package_server) }}"
_package_client: "{{ postgresql_package_client | default(_default_package_server) }}"
_conf_confdir: "{{ __postgresql_conf_dir }}"
_conf_datadir: "{{ __postgresql_datadir | nephelaiio.plugins.sorted_get(_conf_search) }}"
_conf_bindir: "{{ __postgresql_bindir | nephelaiio.plugins.sorted_get(_conf_search) }}"
Expand Down
Loading