Skip to content

Commit

Permalink
Limit dos key installtion to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Laddusaw committed Feb 4, 2025
1 parent 7d2aa11 commit 5e11ce3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/nginxplus/tasks/plus/setup-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/app-protect-dos/ubuntu `lsb_release -cs` nginx-plus\n" | sudo tee /etc/apt/sources.list.d/nginx-app-protect-dos.list
args:
creates: /etc/apt/sources.list.d/nginx-app-protect-dos.list
when:
- "'dev' in inventory_hostname"

- name: "Download 90pkgs-nginx configuration file"
ansible.builtin.get_url:
Expand Down

0 comments on commit 5e11ce3

Please sign in to comment.