File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 3
3
vars :
4
4
ansible_python_interpreter : /usr/bin/python3
5
5
tasks :
6
- - shell : date
6
+ # - name: "踏み台へGit pull"
7
+ # local_action: git [email protected] :rmanzoku/go-i7q.git version=master dest=./ accept_hostkey=yes depth=1 key_file=~/.ssh/id_rsa
8
+ # run_once: yes
9
+
10
+ - local_action : make chdir=./
11
+ run_once : yes
12
+
13
+ - name : dir
14
+ file : path=/home/isucon/go-i7q state=directory mode=0777
15
+ become : yes
16
+
17
+ - name : deploy
18
+ copy : src={{ item }} dest=/home/isucon/go-i7q/ mode=0777
19
+ with_items :
20
+ - bin/i7q
21
+ become : yes
22
+
23
+ # - name: "アプリケーションの起動確認"
24
+ # systemd: name={{ appname }}.service state=started
25
+ # become: yes
26
+
27
+ # - name: "アプリケーションの再起動"
28
+ # systemd: name={{ appname }}.service state=reloaded
29
+ # become: yes
You can’t perform that action at this time.
0 commit comments