質問編集履歴

1

詳細説明

2016/11/30 02:33

投稿

Masaya_Murakami
Masaya_Murakami

スコア25

test CHANGED
File without changes
test CHANGED
@@ -29,3 +29,45 @@
29
29
  また、web-notls.retryはなぜ作られたのでしょうか?
30
30
 
31
31
  よろしくお願いします。
32
+
33
+
34
+
35
+ --checkをしてみたところ、
36
+
37
+ ```ERROR! the playbook: web-notls.yml --check could not be found
38
+
39
+ mba:playbooks murakamimasaya$ ansible-playbook web-notls.yml --check
40
+
41
+
42
+
43
+ PLAY [Configure webserver with nginx] ******************************************
44
+
45
+
46
+
47
+ TASK [setup] *******************************************************************
48
+
49
+ ok: [testserver]
50
+
51
+
52
+
53
+ TASK [install nginx] ***********************************************************
54
+
55
+ fatal: [testserver]: FAILED! => {"changed": false, "failed": true, "msg": "python-apt must be installed to use check mode. If run normally this module can auto-install it."}
56
+
57
+ to retry, use: --limit @/Users/murakamimasaya/MyVagrant/playbooks/web-notls.retry
58
+
59
+
60
+
61
+ PLAY RECAP *********************************************************************
62
+
63
+ testserver : ok=1 changed=0 unreachable=0 failed=1
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+ ```
72
+
73
+ と表示されたのですが、pythonがインストールされていないことが原因でしょうか?