Skip to content
Merged
Show file tree
Hide file tree
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
39 changes: 28 additions & 11 deletions .README.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ <h1 class="toc-title">Contents</h1>
id="toc-postgresql_server_tuning">postgresql_server_tuning</a></li>
<li><a href="#postgresql_secure_logging"
id="toc-postgresql_secure_logging">postgresql_secure_logging</a></li>
<li><a href="#postgresql_transactional_update_reboot_ok"
id="toc-postgresql_transactional_update_reboot_ok">postgresql_transactional_update_reboot_ok</a></li>
</ul></li>
<li><a href="#idempotence" id="toc-idempotence">Idempotence</a>
<ul>
Expand Down Expand Up @@ -198,7 +200,8 @@ <h2 id="collection-requirements">Collection requirements</h2>
<h1 id="role-variables">Role Variables</h1>
<h2 id="postgresql_version">postgresql_version</h2>
<p>You can set the version of the PostgreSQL server to 10, 12, 13, 15,
16 or 18.</p>
16 or 18. On SUSE, it can be set to 16, 17 or 18, and the default is
18.</p>
<div class="sourceCode" id="cb2"><pre
class="sourceCode yaml"><code class="sourceCode yaml"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">postgresql_version</span><span class="kw">:</span><span class="at"> </span><span class="st">&quot;13&quot;</span></span></code></pre></div>
<h2 id="postgresql_password">postgresql_password</h2>
Expand Down Expand Up @@ -309,6 +312,20 @@ <h2 id="postgresql_secure_logging">postgresql_secure_logging</h2>
information in logs, so it should only be used in development or
troubleshooting scenarios.</p>
<p>Default: <code>true</code></p>
<h2
id="postgresql_transactional_update_reboot_ok">postgresql_transactional_update_reboot_ok</h2>
<p>This variable is used to handle reboots required by transactional
updates. If a transactional update requires a reboot, the role will
proceed with the reboot if
<code>postgresql_transactional_update_reboot_ok</code> is set to
<code>true</code>. If set to <code>false</code>, the role will notify
the user that a reboot is required, allowing for custom handling of the
reboot requirement. If this variable is not set, the role will fail to
ensure the reboot requirement is not overlooked. For non-transactional
update systems, this variable is ignored.</p>
<div class="sourceCode" id="cb11"><pre
class="sourceCode yaml"><code class="sourceCode yaml"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="fu">postgresql_transactional_update_reboot_ok</span><span class="kw">:</span><span class="at"> </span><span class="ch">true</span></span></code></pre></div>
<p>Default: <code>null</code></p>
<h1 id="idempotence">Idempotence</h1>
<p>This section should cover role behavior for repeated runs.</p>
<h2 id="password-change">Password change</h2>
Expand All @@ -334,16 +351,16 @@ <h2 id="ssl-usage">SSL usage</h2>
PostgreSQL server needs properly defined certificates and keys to run
with enabled SSL/TLS.</p>
<h1 id="example-playbook">Example Playbook</h1>
<div class="sourceCode" id="cb11"><pre
class="sourceCode yaml"><code class="sourceCode yaml"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="kw">-</span><span class="at"> </span><span class="fu">name</span><span class="kw">:</span><span class="at"> Manage postgres</span></span>
<span id="cb11-2"><a href="#cb11-2" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">hosts</span><span class="kw">:</span><span class="at"> all</span></span>
<span id="cb11-3"><a href="#cb11-3" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">vars</span><span class="kw">:</span></span>
<span id="cb11-4"><a href="#cb11-4" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">postgresql_version</span><span class="kw">:</span><span class="at"> </span><span class="st">&quot;13&quot;</span></span>
<span id="cb11-5"><a href="#cb11-5" aria-hidden="true" tabindex="-1"></a><span class="fu"> postgresql_password</span><span class="kw">: </span><span class="at">!vault </span><span class="ch">|</span></span>
<span id="cb11-6"><a href="#cb11-6" aria-hidden="true" tabindex="-1"></a> $ANSIBLE_VAULT;1.2;AES256;dev</span>
<span id="cb11-7"><a href="#cb11-7" aria-hidden="true" tabindex="-1"></a> ....</span>
<span id="cb11-8"><a href="#cb11-8" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">roles</span><span class="kw">:</span></span>
<span id="cb11-9"><a href="#cb11-9" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> linux-system-roles.postgresql</span></span></code></pre></div>
<div class="sourceCode" id="cb12"><pre
class="sourceCode yaml"><code class="sourceCode yaml"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true" tabindex="-1"></a><span class="kw">-</span><span class="at"> </span><span class="fu">name</span><span class="kw">:</span><span class="at"> Manage postgres</span></span>
<span id="cb12-2"><a href="#cb12-2" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">hosts</span><span class="kw">:</span><span class="at"> all</span></span>
<span id="cb12-3"><a href="#cb12-3" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">vars</span><span class="kw">:</span></span>
<span id="cb12-4"><a href="#cb12-4" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">postgresql_version</span><span class="kw">:</span><span class="at"> </span><span class="st">&quot;13&quot;</span></span>
<span id="cb12-5"><a href="#cb12-5" aria-hidden="true" tabindex="-1"></a><span class="fu"> postgresql_password</span><span class="kw">: </span><span class="at">!vault </span><span class="ch">|</span></span>
<span id="cb12-6"><a href="#cb12-6" aria-hidden="true" tabindex="-1"></a> $ANSIBLE_VAULT;1.2;AES256;dev</span>
<span id="cb12-7"><a href="#cb12-7" aria-hidden="true" tabindex="-1"></a> ....</span>
<span id="cb12-8"><a href="#cb12-8" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">roles</span><span class="kw">:</span></span>
<span id="cb12-9"><a href="#cb12-9" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> linux-system-roles.postgresql</span></span></code></pre></div>
<p>You can find more examples in the <a
href="examples"><code>examples/</code></a> directory.</p>
<h1 id="rpm-ostree">rpm-ostree</h1>
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
Changelog
=========

[1.10.0] - 2026-11-23
--------------------

### New Features

- feat: Honour postgresql_version on SUSE and handle transactional updates (#222)

### Other Changes

- ci: no CI test by default - implement slash commands for CI tests [citest_skip] (#215)
- ci: ansible-test-milestone is now version 2.23 - update sanity ignore files (#216)
- ci: allow lsr org members to run ci tests (#217)
- ci: Run Dependabot monthly and group changes in a single PR (#220)
- ci: bump tox-lsr version 3.21.0, myrotvorets/set-commit-status-action, support leap-16.0 (#221)
- ci: use shared actions and lock workflow dependencies (#223)
- ci: use shared actions and lock workflow dependencies (#224)
- ci: Use order 10 for centos vault task so that it runs first (#225)
- test: check invalid inputs for correct error message (#226)
- refactor: delegate PostgreSQL certificate validation to certificate role (#227)
- docs: add AI policy; update setup-python, codeql actions (#228)
- ci: retry centos vault repo failures using new package_retry yum/dnf plugin (#229)
- docs: tag markdown plain text blocks correctly (#230)
- ci: Use a fixed 5 minute backoff for CentOS vault repos (#231)
- ci: support Fedora 45, Ansible 2.22; drop Fedora 43 (#232)
- ci: use ubuntu 24.04 for test envs that use py39 (#233)
- ci: use ubuntu 26.04 with podman 5.x and disable apparmor restriction (#234)
- docs: add AGENTS.md with shared developer conventions from .github (#235)
- docs: remove extra blank lines from .coderabbit.yaml (#236)
- ci: update tox-lsr for support for tests/module_utils (#237)

[1.9.0] - 2026-09-17
--------------------

Expand Down