1. 09 Aug, 2020 18 commits
    • Sheogorath's avatar
      docker: Remove unused defaults file · a862e36f
      Sheogorath authored
      a862e36f
    • Sheogorath's avatar
      Add LICENSE header to all Ansible files · ed01e699
      Sheogorath authored
      This patch adds a license header to all roles and Ansible files to make
      it easier to keep track of copyright ownership in future.
      ed01e699
    • Sheogorath's avatar
      Merge branch 'mr-origin-8' · 68b65c83
      Sheogorath authored
      68b65c83
    • saibotk's avatar
      gitlab: Add ansible_managed comment · fb92f2e6
      saibotk authored
      To keep all compose files a bit more uniformed adding a comment about
      ansible-managed files is always a good idea.
      fb92f2e6
    • Sheogorath's avatar
      gitlab: Fix quotation of file modes · bb1ddd01
      Sheogorath authored
      This patch fixes the quotation of files modes in the tasks file as those
      are otherwise interpreted as octal numbers which can result in wrong and
      unexpected file permissions.
      bb1ddd01
    • saibotk's avatar
      gitlab: Add role documentation · 72120a09
      saibotk authored
      Tis patch adds a proper README as well as additional documentation to
      the default variables to this role. This should allow people to adopt
      the role a lot easier.
      72120a09
    • saibotk's avatar
      gitlab: Add optional gitlab registry · 18db2e60
      saibotk authored
      This patch allows to configure the gitlab registry feature to store and
      deploy containers from a local gitlab container registry. It's disabled
      by default and reuses various components from the existing gitlab setup
      and provides a minimal config set to configure it.
      18db2e60
    • saibotk's avatar
      gitlab: Allow customizing the certresolver for the traefik router · 633001ff
      saibotk authored
      Currently the certresolver used for GitLab is hardcoded to the
      originally only cert resolver the traefik role provided. This patch
      allows to configure the cert resolver individually now allowing to use
      different resolvers depending on the use-case and setup.
      633001ff
    • saibotk's avatar
      gitlab: Fix typo in variable name · e74f0f17
      saibotk authored
      A long time ago there was a typo built into this role for the
      `gitlab_smtp_tls` setting. It called it `gitlab_snmp_tls` which doesn't
      make sense as gitlab has nothing to do with the SNMP protocol and the
      setting is also used for the TLS settings of SMTP.
      
      Long story short, this patch fixes the typo but keeps backwards
      compatibility to make the transition easier.
      e74f0f17
    • saibotk's avatar
      codimd: Adjust tmpfs for codimd container · aa57ec02
      saibotk authored
      Update tmpfs settings to match upstream reality.
      
      According to: https://github.com/codimd/container/pull/111
      aa57ec02
    • saibotk's avatar
      codimd: Remove old network alias from postgres · 89497add
      saibotk authored
      Currently we still provide the old upstream alias for backwards
      compatiblity even when we never need it. This patch removes it as it's
      already unused and only around for legacy reasons.
      89497add
    • saibotk's avatar
      codimd: Add a README for documentation · b804f90c
      saibotk authored
      This patch adds a README to the CodiMD role as well as adding various
      comments to the defaults file in order to improve readablity.
      
      This should provide the needed documentation to allow everyone to use
      this role in their own setups.
      b804f90c
    • saibotk's avatar
      codimd: Move selevel default values to defaults file · 469f95c2
      saibotk authored
      Currently the the SELinux level variables are undefined and optionally
      then omitted in tasks and templates. This patch moves them as being
      defined by default to the defaults file and sets them to omit.
      
      This makes it a bit easier to adjust them in future as well as reducing
      the need of checking for undefined variables.
      469f95c2
    • saibotk's avatar
      codimd: Allow usage of local uploads · 80a29e11
      saibotk authored
      This brings the option via "codimd_uploads_local", to enable using a
      local uploads folder, which will then create the folder with the correct
      permissions and mount it into the codimd container. (This still needs
      the codimd environment variables to be set to use the filesystem as a
      upload destination)
      80a29e11
    • saibotk's avatar
      codimd: Allow customization of the certresolver · 0013f0e4
      saibotk authored
      Currently the traefik certresolver is hardcoded. This patch allows to
      define the used certresolver for the codimd container via variable,
      while maintaining backwards compatiblity.
      0013f0e4
    • saibotk's avatar
      cidmd: Rename database selinux variable · 5f6ee773
      saibotk authored
      The selinux level variable was renamed, to remove the association with
      postgres and allow future changes to the database without having to
      rename the selinux variable.
      5f6ee773
    • saibotk's avatar
      codimd: Fix wrong default codimd_options · ee98ecf3
      saibotk authored
      The default used `HMD_DOMAIN`, which is deprecated and also would be extended to `CMD_HMD_DOMAIN`.
      ee98ecf3
    • saibotk's avatar
      codimd: Rename leftover hackmd tags / texts to codimd · 058502ce
      saibotk authored
      The old name "HackMD" was stuck in various places of this role. This
      patch removes them and replaces them with CodiMD.
      058502ce
  2. 08 Aug, 2020 1 commit
    • Sheogorath's avatar
      static_websites: Serialize updates to avoid downtimes · 9e2de10f
      Sheogorath authored
      This patch serializes the updates of the static_websites servers as this
      results in less downtime. If one of the installations fails, only one
      host is down and the websites can continue to function.
      
      Orignally it would have updated all hosts in parallel (only limited by
      the number of parallel SSH connections Ansible is configured for) and
      all would break in sync, resulting in higher downtimes.
      9e2de10f
  3. 06 Aug, 2020 1 commit
  4. 04 Aug, 2020 1 commit
  5. 03 Aug, 2020 3 commits
  6. 02 Aug, 2020 3 commits
    • Sheogorath's avatar
      CI: Remove merge commits from release changelog · e96a9345
      Sheogorath authored
      Currently the generated changelog used as release description contains
      merge commits. This doesn't make sense in a changelog. Therefore this
      patch adds `--no-merge` to the `git log` command in order to get rid of
      them.
      e96a9345
    • Sheogorath's avatar
      mastodon: increase memory limits · 2f9296a5
      Sheogorath authored
      I noticed that the past 3 days my Mastodon instance wasn't that stable
      due to OOM issues. This patch solves the problem for now.
      2f9296a5
    • Sheogorath's avatar
      Add cleanup role for docker · ebe8f77e
      Sheogorath authored
      This patch adds a cleanup role to get rid of old images from hosts. It
      will remove all unused images that are older than 3 days from the host.
      
      It will run by default before installing any new version of software as
      this keeps the old version around in case the deployment causes problems
      and is easier to revert.
      ebe8f77e
  7. 31 Jul, 2020 2 commits
  8. 27 Jul, 2020 2 commits
  9. 25 Jul, 2020 3 commits
  10. 24 Jul, 2020 2 commits
  11. 22 Jul, 2020 2 commits
  12. 21 Jul, 2020 1 commit
  13. 20 Jul, 2020 1 commit
    • Sheogorath's avatar
      CI: Revert "fix" of HEAD · 87689a4c
      Sheogorath authored
      The issue is not a missing reference of HEAD, but the fact that there is
      no other tagged release.
      87689a4c