質問編集履歴
1
サーバー上で試した結果について追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
コード1
|
30
30
|
|
31
|
-
```
|
31
|
+
```YAML
|
32
32
|
|
33
33
|
- name: Update composer
|
34
34
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
|
41
41
|
エラー1
|
42
42
|
|
43
|
-
```
|
43
|
+
```JSON
|
44
44
|
|
45
45
|
fatal: [xx.xx.xx.xx]: FAILED! => {"changed": true, "cmd": ["/usr/local/bin/composer", "selfupdate"], "delta": "0:00:00.002475", "end": "2016-11-13 10:20:04.128425", "failed": true, "rc": 127, "start": "2016-11-13 10:20:04.125950", "stderr": "/usr/bin/env: php: そのようなファイルやディレクトリはありません", "stdout": "", "stdout_lines": [], "warnings": []}
|
46
46
|
|
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
コード2
|
52
52
|
|
53
|
-
```
|
53
|
+
```YAML
|
54
54
|
|
55
55
|
- name: Create Project
|
56
56
|
|
@@ -68,7 +68,7 @@
|
|
68
68
|
|
69
69
|
エラー2
|
70
70
|
|
71
|
-
```
|
71
|
+
```json
|
72
72
|
|
73
73
|
fatal: [xx.xx.xx.xx]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to find required executable php"}
|
74
74
|
|
@@ -96,4 +96,24 @@
|
|
96
96
|
|
97
97
|
|
98
98
|
|
99
|
+
###試したこと、追記
|
100
|
+
|
101
|
+
サーバー上にログインをおこなって、
|
102
|
+
|
103
|
+
```BASH
|
104
|
+
|
105
|
+
composer selfupdate
|
106
|
+
|
107
|
+
```
|
108
|
+
|
109
|
+
を実行した場合、正常に動きました。
|
110
|
+
|
111
|
+
```BASH
|
112
|
+
|
113
|
+
You are already using composer version 1.2.2 (stable channel).
|
114
|
+
|
115
|
+
```
|
116
|
+
|
117
|
+
|
118
|
+
|
99
119
|
どうぞ、よろしくお願いいたします。
|