Skip to content

Commit

Permalink
revert this change before merging, for testing only
Browse files Browse the repository at this point in the history
  • Loading branch information
acozine committed Sep 7, 2023
1 parent d293f2d commit ae980e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
20 changes: 0 additions & 20 deletions playbooks/nginxplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,3 @@
roles:
- role: ../roles/nginxplus

- name: restart nginx with updated loadbalancer configuration
hosts: nginxplus_production
remote_user: pulsys
strategy: linear
become: true

tasks:
- name: nginxplus | restart nginx for realsies
service:
name: nginx
state: restarted
tags: always

post_tasks:
- name: tell everyone on slack you ran an ansible playbook
slack:
token: "{{ vault_pul_slack_token }}"
msg: "Ansible ran `{{ ansible_play_name }}` on {{ inventory_hostname }}"
channel: "{{ slack_alerts_channel }}"
tags: always
3 changes: 2 additions & 1 deletion roles/nginxplus/tasks/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
command: /usr/sbin/nginx -t
changed_when: false
become: true
tags: always
# testing the config template
# tags: always

0 comments on commit ae980e9

Please sign in to comment.