Skip to content

Commit 8ecea14

Browse files
committed
Install aws-cli in app role
1 parent 13628e2 commit 8ecea14

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

recipes/middleware/aws-cli/default.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include_middleware 'pip'
2+
3+
execute 'pip install -U awscli'

recipes/middleware/pip/default.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package 'python-pip'

recipes/roles/app.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include_middleware "docker"
2+
include_middleware "aws-cli"
23

34
execute "usermod -a -G docker discourse"

0 commit comments

Comments
 (0)