Commit b282372d by John Jarvis

moving aws s3 sync logfile to aws logdir

parent 691754f8
...@@ -44,7 +44,8 @@ aws_data_dir: "{{ COMMON_DATA_DIR }}/aws" ...@@ -44,7 +44,8 @@ aws_data_dir: "{{ COMMON_DATA_DIR }}/aws"
aws_app_dir: "{{ COMMON_APP_DIR }}/aws" aws_app_dir: "{{ COMMON_APP_DIR }}/aws"
aws_var_file: "{{ aws_app_dir }}/server-vars.yml" aws_var_file: "{{ aws_app_dir }}/server-vars.yml"
aws_s3_sync_script: "{{ aws_app_dir }}/send-logs-to-s3" aws_s3_sync_script: "{{ aws_app_dir }}/send-logs-to-s3"
aws_s3_logfile: "/var/log/s3-log-sync.log" aws_s3_logfile: "{{ aws_log_dir }}/s3-log-sync.log"
aws_log_dir: "{{ COMMON_LOG_DIR }}/aws"
# default path to the aws binary # default path to the aws binary
aws_cmd: "/usr/local/bin/aws" aws_cmd: "/usr/local/bin/aws"
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
with_items: with_items:
- "{{ aws_data_dir }}" - "{{ aws_data_dir }}"
- "{{ aws_app_dir }}" - "{{ aws_app_dir }}"
- "{{ aws_log_dir }}"
# The sync script and config file are now symlinks # The sync script and config file are now symlinks
# Remove them if they are regular files # Remove them if they are regular files
......
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