Skip to content

Commit

Permalink
PMM-12641 Refine the task descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Oct 21, 2024
1 parent 332bb78 commit 25a7814
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build/ansible/pmm-docker/post-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
--server-address=127.0.0.1:8443
--server-insecure-tls
- name: Remove pmm-managed database
- name: Remove pmm-managed database from PostgreSQL
postgresql_db:
login_user: postgres
name: pmm-managed
force: true
state: absent

- name: Remove pmm-managed role from postgres
- name: Remove pmm-managed role from PostgreSQL database
postgresql_user:
name: pmm-managed
state: absent
Expand Down
6 changes: 3 additions & 3 deletions build/ansible/roles/dashboards/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
- stop
- remove

- name: Get plugin list
- name: Retrieve Percona plugins
find:
paths: /usr/share/percona-dashboards/panels/
depth: 2
file_type: directory
register: plugin_list

- name: Delete older plugins
- name: Delete outdated plugins
file:
path: "/srv/grafana/plugins/{{ item['path'].split('/')[-1] }}"
state: absent
loop: "{{ plugin_list['files'] }}"

- name: Copy plugins to the plugin directory
- name: Copy new plugins to the plugin directory
synchronize:
src: /usr/share/percona-dashboards/panels/
dest: /srv/grafana/plugins/
Expand Down
2 changes: 1 addition & 1 deletion build/ansible/roles/initialization/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
group: pmm
mode: 0644

- name: Wait until postgres is up
- name: Wait for PostgreSQL to become responsive
wait_for:
host: 127.0.0.1
port: 5432
Expand Down

0 comments on commit 25a7814

Please sign in to comment.