Commit 41098f97 authored by Dmitrii Safronov's avatar Dmitrii Safronov Committed by Dmitrii Safronov
Browse files

chore: linter

parent fe1aa321
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

- name: Reconfigure gitlab
  ansible.builtin.shell: |
    set -o pipefail
    gitlab-ctl deploy-page up
    gitlab-ctl backup-etc
    gitlab-ctl start
@@ -9,6 +10,7 @@
    ( cat /etc/gitlab/gitlab.rb | grep "letsencrypt" | sed 's/\ //g' | grep "\['enable'\]=true" > /dev/null 2> /dev/null ) && gitlab-ctl renew-le-certs || true
    gitlab-ctl deploy-page down
  notify: Enable gitlab service
  changed_when: true

- name: Enable gitlab service
  ansible.builtin.systemd:
+21 −18
Original line number Diff line number Diff line
@@ -67,6 +67,9 @@
      ansible.builtin.copy:
        dest: "/opt/gitlab.rb"
        src: "{{ gitlab_config.backup_file }}"
        owner: root
        group: root
        mode: '0640'
        remote_src: true
    - name: Remove backup file from gitlab config dir
      ansible.builtin.file: