1. 22 Jan, 2021 1 commit
    • Louis VINCHON's avatar
      Role postgresql, task systemd: factorize tasks. · 7cddbc7f
      Louis VINCHON authored
      This is an improvement to the systemd.yml file which had a lot
      of tasks doing the same thing, with slighty different names for the
      unit files.
      
      I factorized the 'start postgresql.service' tasks so that we only need
      one task with a dynamic unit file name.
      
      Remarks: This means that we no longer have system-specific tasks.
      It doesn't matter in the current state as there was nothing system-specific
      in our tasks.
      7cddbc7f
  2. 21 Jan, 2021 2 commits
    • Louis VINCHON's avatar
      Fix task label · a5d16129
      Louis VINCHON authored
      The issue:
      The 'postgresql_version' variable is only collected for Ubuntu 18 platforms.
      This caused the label of the task to bug out and display weird information.
      
      The solution:
      Since it's only the label and we don't need to be 100% accurate, I used the
      'external_postgresql_version' which is user-defined.
      No more bugs. Nice label.
      a5d16129
    • Louis VINCHON's avatar
      Role postgresql, task systemd: use override instead of editing the unit file · f435c097
      Louis VINCHON authored
      The issue:
      In its previous state the task directly edited postgresql's systemd unit file.
      This file is systematically replaced by each postgresql update.
      This is fine as long as we roll the update with this role only, but will break
      as soon as an update is rolled by any other mean.
      
      The solution:
      Create an override file located in /etc/systemd/system/postgresql.service with
      the appropriate custom options for the unit file (what we used to write in the
      unit file).
      This file will not be overriden and is therefore more stable.
      f435c097
  3. 14 Dec, 2020 2 commits
  4. 04 Dec, 2020 1 commit
  5. 02 Dec, 2020 2 commits
  6. 01 Dec, 2020 3 commits
  7. 25 Nov, 2020 1 commit
  8. 24 Nov, 2020 1 commit
  9. 18 Nov, 2020 7 commits
  10. 17 Nov, 2020 7 commits
  11. 16 Nov, 2020 1 commit
  12. 13 Nov, 2020 8 commits
  13. 12 Nov, 2020 4 commits