File tree 4 files changed +54
-0
lines changed
4 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ [defaults]
2
+ hostfile = hosts
3
+ gathering = smart
4
+ roles_path = roles
Original file line number Diff line number Diff line change
1
+ [pkg_mgr_yum]
2
+ vm-rhel67
3
+ vm-rhel7
4
+ vm-rhel7x
5
+ s3cmd-rhel5
6
+ s3cmd-rhel7
7
+ s3cmd-fedora21
8
+ s3cmd-fedora22
9
+ s3cmd-fedora23
10
+
11
+ [s3cmd]
12
+ vm-rhel67
13
+ vm-rhel7
14
+ vm-rhel7x
15
+ s3cmd-rhel5
16
+ s3cmd-rhel7
17
+ s3cmd-fedora21
18
+ s3cmd-fedora22
19
+ s3cmd-fedora23
20
+ # s3cmd-ubuntu
Original file line number Diff line number Diff line change
1
+ - name : install general packages
2
+ yum : name={{item}} state=present
3
+ with_items :
4
+ - rsync
5
+ - git
6
+ - emacs-nox
7
+ - python-dateutil
8
+ become : yes
9
+
10
+ - name : install s3cfg
11
+ synchronize : src=../../.s3cfg dest=/home/mdomsch/.s3cfg
12
+
13
+ - name : sync s3cmd git tree
14
+ synchronize :
15
+ src : ../s3cmd
16
+ dest : /home/mdomsch/s3cmd/
17
+ rsync_opts :
18
+ - " --exclude=testsuite/"
Original file line number Diff line number Diff line change
1
+ - hosts : pkg_mgr_yum
2
+ tasks :
3
+ - name : install libselinux-python
4
+ yum : name=libselinux-python state=present
5
+ become : yes
6
+
7
+ - name : add mdomsch ssh key
8
+ authorized_key : user=mdomsch key="{{ lookup('file', '/home/mdomsch/.ssh/authorized_keys') }}"
9
+
10
+ - hosts : s3cmd
11
+ roles :
12
+ - s3cmd
You can’t perform that action at this time.
0 commit comments