1. 25 Jan, 2021 2 commits
    • Louis VINCHON's avatar
      Role postgresql: copy 'centos' tasks to 'ubuntu' and 'debian' folders · 05ad35f0
      Louis VINCHON authored
      Duplicate the tasks so that we can, in next commits, eliminate the unrelated
      tasks for each OS.
    • Louis VINCHON's avatar
      Role postgresql: move all tasks to a 'centos' sub folder · e83a8d53
      Louis VINCHON authored
      The issue:
      Most of our tasks check the OS type and version. Those checks clutter the
      configuration files, making exploration and maintenance diffiult and
      The solution:
      The tasks were already separated by function, each group of task related to one function being in its own file. This commit will also group those files in folder dedicated to each type of OS.
      Note that this is the first step of the process.
  2. 24 Jan, 2021 1 commit
  3. 22 Jan, 2021 2 commits
    • 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.
    • viscapi's avatar
      Merge branch 'postgresql-systemd-improvement' into 'master' · 6aecc539
      viscapi authored
      Postgresql systemd improvement
      See merge request !1
  4. 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.
    • 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.
  5. 14 Dec, 2020 2 commits
  6. 04 Dec, 2020 1 commit
  7. 02 Dec, 2020 2 commits
  8. 01 Dec, 2020 3 commits
  9. 25 Nov, 2020 1 commit
  10. 24 Nov, 2020 1 commit
  11. 18 Nov, 2020 7 commits
  12. 17 Nov, 2020 7 commits
  13. 16 Nov, 2020 1 commit
  14. 13 Nov, 2020 8 commits