Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

Commit

Permalink
add CentOS 7 support
Browse files Browse the repository at this point in the history
creates the conf directories available in Ubuntu so playbooks that expect them won't crash.
  • Loading branch information
seth-shaw-unlv committed Oct 19, 2018
1 parent 8558cf2 commit 8146f4d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tasks/config_webserver.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
- name: Create httpd config directories for CentOS
file:
path: "{{httpd_conf_directory}}/{{ item }}/"
state: directory
owner: "{{ matomo_user }}"
group: "{{ matomo_user }}"
mode: "urwx,gr,o-rwx"
with_items:
- "conf-available"
- "conf-enabled"
when: ansible_os_family == "RedHat"

- name: Install matomo httpd config file
template:
Expand Down

0 comments on commit 8146f4d

Please sign in to comment.