Commit 30165802 by Edward Zarecor

Reverting this part of the Swift PR

parent ec2fb63d
......@@ -23,8 +23,28 @@ AWS_S3_LOGS_FROM_EMAIL: dummy@example.com
AWS_S3_LOGS_ACCESS_KEY_ID: ""
AWS_S3_LOGS_SECRET_KEY: ""
aws_s3_sync_script: "{{ vhost_dirs.home.path }}/send-logs-to-s3"
aws_s3_logfile: "{{ vhost_dirs.logs.path }}/s3-log-sync.log"
#
# vars are namespace with the module name.
#
aws_role_name: aws
aws_dirs:
home:
path: "{{ COMMON_APP_DIR }}/{{ aws_role_name }}"
owner: "root"
group: "root"
mode: "0755"
logs:
path: "{{ COMMON_LOG_DIR }}/{{ aws_role_name }}"
owner: "syslog"
group: "syslog"
mode: "0650"
data:
path: "{{ COMMON_DATA_DIR }}/{{ aws_role_name }}"
owner: "root"
group: "root"
mode: "0700"
aws_region: "us-east-1"
# default path to the aws binary
aws_s3cmd: "/usr/local/bin/s3cmd"
......
......@@ -51,6 +51,15 @@
# End dealing with Jumbo frames issue in mixed MTU deployements in AWS
#
- name: Create all service directories
file:
path: "{{ item.value.path }}"
state: directory
owner: "{{ item.value.owner }}"
group: "{{ item.value.group }}"
mode: "{{ item.value.mode }}"
with_dict: "{{ aws_dirs }}"
- name: Install system packages
apt:
name: "{{ item }}"
......
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