diff --git a/playbooks/allsearch_banner.yml b/playbooks/allsearch_banner.yml index cc59f1e8ab..62ab0a9402 100644 --- a/playbooks/allsearch_banner.yml +++ b/playbooks/allsearch_banner.yml @@ -18,7 +18,7 @@ # - pan-os-python - name: Run the Rake task - ansible.builtin.shell: "cd {{ passenger_app_root }} && bundle exec rake banner:update ['{{ banner_text }}',{{alert_status}},{{dismissible}},{{autoclear}}]" + ansible.builtin.shell: "cd /opt/allsearch_api/current && bundle exec rake banner:update ['{{ banner_text }}',{{alert_status}},{{dismissible}},{{autoclear}}]" #bundle exec rake banner:update\['new banner',info,true,true\] #text,alert_status[info|success|warning|error],dismissible,autoclear become: true