Skip to content

Commit 8dfd281

Browse files
committed
readability updates
1 parent 874745b commit 8dfd281

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

tasks/main.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,25 @@
4040
- import_tasks: keys/apt-key.yml
4141
when:
4242
- ansible_os_family == "Debian"
43-
- app_protect_state != "absent" or app_protect_install_signatures or app_protect_install_threat_campaigns
43+
- app_protect_state != "absent"
44+
or app_protect_install_signatures
45+
or app_protect_install_threat_campaigns
4446
tags: nginx_aptkey
4547

4648
- import_tasks: keys/rpm-key.yml
4749
when:
4850
- ansible_os_family == "RedHat"
49-
- app_protect_state != "absent" or app_protect_install_signatures or app_protect_install_threat_campaigns
51+
- app_protect_state != "absent"
52+
or app_protect_install_signatures
53+
or app_protect_install_threat_campaigns
5054
tags: nginx_rpmkey
5155

5256
- name: "(All OSs) Setup license"
5357
import_tasks: setup-license.yml
54-
when: app_protect_state != "absent" or app_protect_install_signatures or app_protect_install_threat_campaigns
58+
when:
59+
- app_protect_state != "absent"
60+
or app_protect_install_signatures
61+
or app_protect_install_threat_campaigns
5562

5663
- name: "Install NGINX App Protect"
5764
import_tasks: install-app-protect.yml

0 commit comments

Comments
 (0)