Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
30165802
Commit
30165802
authored
Jul 08, 2016
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverting this part of the Swift PR
parent
ec2fb63d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
2 deletions
+31
-2
playbooks/roles/aws/defaults/main.yml
+22
-2
playbooks/roles/aws/tasks/main.yml
+9
-0
No files found.
playbooks/roles/aws/defaults/main.yml
View file @
30165802
...
@@ -23,8 +23,28 @@ AWS_S3_LOGS_FROM_EMAIL: dummy@example.com
...
@@ -23,8 +23,28 @@ AWS_S3_LOGS_FROM_EMAIL: dummy@example.com
AWS_S3_LOGS_ACCESS_KEY_ID
:
"
"
AWS_S3_LOGS_ACCESS_KEY_ID
:
"
"
AWS_S3_LOGS_SECRET_KEY
:
"
"
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"
aws_region
:
"
us-east-1"
# default path to the aws binary
# default path to the aws binary
aws_s3cmd
:
"
/usr/local/bin/s3cmd"
aws_s3cmd
:
"
/usr/local/bin/s3cmd"
...
...
playbooks/roles/aws/tasks/main.yml
View file @
30165802
...
@@ -51,6 +51,15 @@
...
@@ -51,6 +51,15 @@
# End dealing with Jumbo frames issue in mixed MTU deployements in AWS
# 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
-
name
:
Install system packages
apt
:
apt
:
name
:
"
{{
item
}}"
name
:
"
{{
item
}}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment