Skip to content

Commit

Permalink
Merge branch 'main' into PMM-11714-dont-return-error
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk authored Sep 27, 2023
2 parents c3d528d + 7678adc commit 2736632
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
* @percona/pmm-review-be
/build/ @atymchuk @percona/pmm-review-be
/admin/ @percona/pmm-review-be
/agent/agents/postgres/ @JiriCtvrtka @percona/pmm-review-be
/agent/runner/ @artemgavrilov @percona/pmm-review-be
/api/ @BupycHuk @percona/pmm-review-be
/docs/api/ @atymchuk @percona/pmm-review-be
/managed/services/checks/ @idoqo @percona/pmm-review-be
/managed/ @percona/pmm-review-be
/managed/services/dbaas @gen1us2k @recharte @percona/pmm-review-be
/managed/services/management/dbaas @gen1us2k @recharte @percona/pmm-review-be
/update/ @BupycHuk @talhabinrizwan @percona/pmm-review-be
/api-tests/ @percona/pmm-review-be
**/go.mod @percona/pmm-review-dependency @percona/pmm-review-be
**/Dockerfile @percona/pmm-review-dependency @percona/pmm-review-be
/cli-tests/package.json @percona/pmm-review-dependency @yurkovychv
Expand Down
10 changes: 8 additions & 2 deletions update/ansible/playbook/tasks/roles/clickhouse/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
- name: Stop and remove clickhouse before update | EL7
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == '7'
when:
- ansible_distribution == 'CentOS'
- ansible_distribution_major_version == '7'
command: supervisorctl {{ item }} clickhouse
changed_when: True
loop:
Expand All @@ -13,7 +15,11 @@
register: supervisord_socket

- name: Stop and remove clickhouse before update | EL9
when: supervisord_socket.stat.exists and (ansible_distribution == 'OracleLinux' or ansible_distribution == 'AlmaLinux') and ansible_distribution_major_version == '9'
when:
- supervisord_socket.stat.exists
- ansible_distribution == 'OracleLinux' or ansible_distribution == 'AlmaLinux'
- ansible_distribution_major_version == '9'
- not ansible_check_mode
command: /usr/local/bin/supervisorctl {{ item }} clickhouse
become: true
loop:
Expand Down

0 comments on commit 2736632

Please sign in to comment.