Skip to content

Commit

Permalink
PMM-1708 install pmm-client from testing repo
Browse files Browse the repository at this point in the history
  • Loading branch information
delgod committed Nov 16, 2017
1 parent ce7d9f7 commit 9b5bebb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions playbook-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,18 @@
stat: path=/srv/update/main.yml
register: pmm_update_file

- name: PMM | Enable testing repo for pmm-client and percona-toolkit
when: not pmm_update_file.stat.exists
command: yum-config-manager --enable percona-testing-x86_64

- name: PMM | Run pmm-update
when: not pmm_update_file.stat.exists
command: env EXTRA_ARGS='--extra-vars image_creation=1' /usr/bin/pmm-update-stage2

- name: PMM | Enable testing repo for pmm-client and percona-toolkit
when: not pmm_update_file.stat.exists
command: yum-config-manager --disable percona-testing-x86_64

- name: PMM | Stop services
shell: supervisorctl shutdown

Expand Down

0 comments on commit 9b5bebb

Please sign in to comment.