diff --git a/update/ansible/playbook/tasks/roles/clickhouse/tasks/main.yml b/update/ansible/playbook/tasks/roles/clickhouse/tasks/main.yml index 2fb89b954b..5f94d66fdd 100644 --- a/update/ansible/playbook/tasks/roles/clickhouse/tasks/main.yml +++ b/update/ansible/playbook/tasks/roles/clickhouse/tasks/main.yml @@ -13,7 +13,10 @@ 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' command: /usr/local/bin/supervisorctl {{ item }} clickhouse become: true loop: @@ -61,7 +64,7 @@ name: clickhouse file: clickhouse description: "Clickhouse repo" - baseurl: "https://repo.clickhouse.com/rpm/stable/x86_64/" + baseurl: "https://packages.clickhouse.com/rpm/stable/" enabled: no gpgcheck: 1 gpgkey: "https://repo.clickhouse.com/CLICKHOUSE-KEY.GPG" @@ -74,7 +77,7 @@ name: clickhouse file: clickhouse description: "Clickhouse repo" - baseurl: "https://repo.clickhouse.com/rpm/stable/x86_64/" + baseurl: "https://packages.clickhouse.com/rpm/stable/" enabled: no gpgcheck: 0