Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 8fe7920

Browse files
committed
Update apache role to latest version.
1 parent 0bc54dd commit 8fe7920

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

provisioning/requirements.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ roles:
99
- name: geerlingguy.adminer
1010
version: 1.3.1
1111
- name: geerlingguy.apache
12-
version: 3.1.6
12+
version: 3.2.0
1313
- name: geerlingguy.apache-php-fpm
1414
version: 1.1.0
1515
- name: geerlingguy.blackfire

provisioning/roles/geerlingguy.apache/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ The list of packages to be installed. This defaults to a set of platform-specifi
100100

101101
Set initial Apache daemon state to be enforced when this role is run. This should generally remain `started`, but you can set it to `stopped` if you need to fix the Apache config during a playbook run or otherwise would not like Apache started at the time this role is run.
102102

103+
apache_enabled: yes
104+
105+
Set the Apache service boot time status. This should generally remain `yes`, but you can set it to `no` if you need to run Ansible while leaving the service disabled.
106+
103107
apache_packages_state: present
104108

105109
If you have enabled any additional repositories such as _ondrej/apache2_, [geerlingguy.repo-epel](https://github.com/geerlingguy/ansible-role-repo-epel), or [geerlingguy.repo-remi](https://github.com/geerlingguy/ansible-role-repo-remi), you may want an easy way to upgrade versions. You can set this to `latest` (combined with `apache_enablerepo` on RHEL) and can directly upgrade to a different Apache version from a different repo (instead of uninstalling and reinstalling Apache).

provisioning/roles/geerlingguy.apache/defaults/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ apache_mods_disabled: []
4949
# Set initial apache state. Recommended values: `started` or `stopped`
5050
apache_state: started
5151

52+
# Set initial apache service status. Recommended values: `yes` or `no`
53+
apache_enabled: yes
54+
5255
# Set apache state when configuration changes are made. Recommended values:
5356
# `restarted` or `reloaded`
5457
apache_restart_state: restarted

provisioning/roles/geerlingguy.apache/tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
service:
4545
name: "{{ apache_service }}"
4646
state: "{{ apache_state }}"
47-
enabled: true
47+
enabled: "{{ apache_enabled }}"

0 commit comments

Comments
 (0)