File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- -name : Check if /usr/local/bin exsits
3- become : true
4- file :
5- Path=/usr/local/bin
6- state=directory
2+ - name : Install ec2-metadata in /usr/local/bin
3+ become : true
4+ get_url :
5+ url=http://s3.amazonaws.com/ec2metadata/ec2-metadata
6+ dest=/usr/local/bin
7+ mode=0755
78
8- -name : Install ec2-metadata in /usr/local/bin
9- become :
10- get_url : url=http://s3.amazonaws.com/ec2metadata/ec2-metadata dest=/usr/local/bin mode=0755
9+ - name : Check of /usr/local/ec2
10+ become : true
11+ file :
12+ path=/usr/local/ec2
13+ state=directory
1114
12- -name : Check of /usr/local/ec2
13- become : true
14- file :
15- path=/usr/local/ec2
16- state=directory
15+ - name : Download the zip file for ec2-api-tools
16+ become : true
17+ get_url :
18+ url=http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip
19+ dest=/tmp/ec2
20+ mode=0755
1721
18- -name : Download the zip file for ec2-api-tools
19- become : true
20- get_url : url=http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip dest=/tmp/ec2 mode=0755
21-
22- -name : Unzip the ec2-api-tool
23- become : true
24- unarchive : src=/tmp/ec2/ec2-api-tools.zip dest=/usr/local/ec2 copy=no
22+ - name : Unzip the ec2-api-tool
23+ become : true
24+ unarchive :
25+ src=/tmp/ec2/ec2-api-tools.zip
26+ dest=/usr/local/ec2
27+ copy=no
2528
Original file line number Diff line number Diff line change 1+ ---
2+ dependencies :
3+ - { role: aws-package, tag: [anurag] }
You can’t perform that action at this time.
0 commit comments