Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create playbook to update allsearch banner #5463

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
spacing problems are spacing
we discovered that spacing matters for rake tasks

Co-authored-by: Beck Davis <beck-davis@users.noreply.github.com>
Co-authored-by: Vickie Karasic <vickiekarasic@users.noreply.github.com>
  • Loading branch information
3 people committed Dec 31, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 78911f0dd62b33ca15698d9af0c1ac9ea7950ac8
2 changes: 1 addition & 1 deletion playbooks/allsearch_banner.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
# - pan-os-python

- name: Run the Rake task
ansible.builtin.shell: "cd /opt/allsearch_api/current && /usr/bin/bash --login -c 'RAILS_ENV=staging bundle exec rake banner:update ['{{ banner_text }}',{{alert_status | default('info') }},{{dismissible | default('true')}},{{autoclear | default('false')}}]'"
ansible.builtin.shell: "cd /opt/allsearch_api/current && /usr/bin/bash --login -c 'RAILS_ENV=staging bundle exec rake banner:update['{{ banner_text }}',{{alert_status | default('info') }},{{dismissible | default('true')}},{{autoclear | default('false')}}]'"
#bundle exec rake banner:update\['new banner',info,true,true\]
#text,alert_status[info|success|warning|error],dismissible,autoclear