Commit 2bb6f370 by John Jarvis

Merge pull request #373 from edx/jarv/logdir

creating syslog writable log dir
parents 66b9c705 beed00c9
...@@ -12,10 +12,14 @@ ...@@ -12,10 +12,14 @@
with_items: with_items:
- "{{ COMMON_DATA_DIR }}" - "{{ COMMON_DATA_DIR }}"
- "{{ COMMON_APP_DIR }}" - "{{ COMMON_APP_DIR }}"
- "{{ COMMON_LOG_DIR }}"
- "{{ COMMON_BIN_DIR }}" - "{{ COMMON_BIN_DIR }}"
- "{{ COMMON_CFG_DIR }}" - "{{ COMMON_CFG_DIR }}"
- name: common | Create common log directory
file: >
path={{ COMMON_LOG_DIR }} state=directory owner=syslog
group=syslog mode=0755
- name: common | Install role-independent useful system packages - name: common | Install role-independent useful system packages
# do this before log dir setup; rsyslog package guarantees syslog user present # do this before log dir setup; rsyslog package guarantees syslog user present
apt: > apt: >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment