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
c21deb73
Commit
c21deb73
authored
Feb 27, 2016
by
Sven Marnach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install s3cmd via pip rather than from a tarball.
parent
59d3030f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
20 deletions
+2
-20
playbooks/roles/aws/defaults/main.yml
+2
-3
playbooks/roles/aws/tasks/main.yml
+0
-17
No files found.
playbooks/roles/aws/defaults/main.yml
View file @
c21deb73
...
...
@@ -50,7 +50,7 @@ aws_s3_sync_script: "{{ aws_dirs.home.path }}/send-logs-to-s3"
aws_s3_logfile
:
"
{{
aws_dirs.logs.path
}}/s3-log-sync.log"
aws_region
:
"
us-east-1"
# default path to the aws binary
aws_s3cmd
:
"
{{
COMMON_BIN_DIR
}}
/s3cmd"
aws_s3cmd
:
"
/usr/local/bin
/s3cmd"
aws_cmd
:
"
/usr/local/bin/aws"
#
# OS packages
...
...
@@ -63,7 +63,6 @@ aws_pip_pkgs:
-
https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
-
awscli==1.4.2
-
boto=="{{ common_boto_version }}"
-
s3cmd==1.6.1
aws_redhat_pkgs
:
[]
aws_s3cmd_version
:
s3cmd-1.5.0-beta1
aws_s3cmd_url
:
"
http://files.edx.org/s3cmd/{{
aws_s3cmd_version
}}.tar.gz"
playbooks/roles/aws/tasks/main.yml
View file @
c21deb73
...
...
@@ -70,23 +70,6 @@
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
with_items
:
aws_pip_pkgs
-
name
:
get s3cmd
get_url
:
>
url={{ aws_s3cmd_url }}
dest={{ aws_dirs.data.path }}/
-
name
:
untar s3cmd
shell
:
>
tar xf {{ aws_dirs.data.path }}/{{ aws_s3cmd_version }}.tar.gz
creates={{ aws_dirs.data.path }}/{{ aws_s3cmd_version }}/s3cmd
chdir={{ aws_dirs.home.path }}
-
name
:
create symlink for s3cmd
file
:
>
src={{ aws_dirs.home.path }}/{{ aws_s3cmd_version }}/s3cmd
dest={{ aws_s3cmd }}
state=link
-
name
:
create s3 log sync script
template
:
>
dest={{ aws_s3_sync_script }}
...
...
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