Skip to content

Commit

Permalink
PMM-13409 remove the token after upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Oct 11, 2024
1 parent 9c121a0 commit e462ad6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/ansible/pmm-docker/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,8 @@
file:
state: absent
path: /usr/share/pmm-server/maintenance/maintenance.html

- name: Remove the file provisioned by 'getStatus'
file:
state: absent
path: /srv/pmm-update.json
5 changes: 5 additions & 0 deletions build/ansible/roles/initialization/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,9 @@
file:
state: absent
path: /usr/share/pmm-server/maintenance/maintenance.html

- name: Remove the file provisioned by 'getStatus'
file:
state: absent
path: /srv/pmm-update.json
when: need_initialization or need_upgrade

0 comments on commit e462ad6

Please sign in to comment.