Skip to content

Commit 3366dee

Browse files
Fix skipped Nginx/Dehydrated handlers in playbooks (#15)
Fix a bug that caused Nginx and Dehydrated handlers to be skipped in playbooks that use the PHP role
1 parent 54941f9 commit 3366dee

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

meta/main.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
---
2-
dependencies:
3-
- role: system
4-
when: (lookup('env','GITHUB_ACTIONS') | length) != 0
5-
- role: nginx
6-
when: (lookup('env','GITHUB_ACTIONS') | length) != 0
7-
82
galaxy_info:
93
author: "Punkt.de"
104
license: ""

molecule/default/converge.yml

+8
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
apt:
1616
enabled: yes
1717
tasks:
18+
- name: Include ansible-proserver-system
19+
ansible.builtin.include_role:
20+
name: system
21+
22+
- name: Include ansible-proserver-nginx
23+
ansible.builtin.include_role:
24+
name: nginx
25+
1826
- name: "Include ansible-proserver-php"
1927
ansible.builtin.include_role:
2028
name: "ansible-proserver-php"

0 commit comments

Comments
 (0)