Skip to content

Commit

Permalink
Clean 2
Browse files Browse the repository at this point in the history
  • Loading branch information
williambelle committed Oct 9, 2024
1 parent 1b46501 commit ce779ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ansible/roles/archiveweb-k8s/tasks/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@

- name: Restart Archive Web
when: >-
('web.restart' in ansible_run_tags)
('nginx.restart' in ansible_run_tags)
or
( (_archiveweb_configmap | default({})) is changed )
local_action:
module: ansible.builtin.shell
delegate_to: localhost
ansible.builtin.shell:
cmd: "oc patch deployment/{{ app_name }} --namespace {{ openshift_namespace }} --patch
'{
\"spec\": {
Expand All @@ -118,4 +118,4 @@
}
}
}'"
tags: web.restart
tags: nginx.restart

0 comments on commit ce779ad

Please sign in to comment.