質問編集履歴
2
書式改善
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
```
|
|
10
10
|
TASK [docker : Add apt key] ********************************************************************************************************************************************************************************
|
|
11
11
|
fatal: [192.168.255.5]: FAILED! => {"changed": false, "msg": "Failed to connect to download.docker.com at port 443: [Errno 101] ネットワークに届きません"}
|
|
12
|
-
to retry, use: --limit @/etc/ansible/all-in-one/
|
|
12
|
+
to retry, use: --limit @/etc/ansible/all-in-one/aaa.retry
|
|
13
13
|
|
|
14
14
|
PLAY RECAP *************************************************************************************************************************************************************************************************
|
|
15
15
|
192.168.255.5 : ok=7 changed=0 unreachable=0 failed=1
|
1
書式改善
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -18,22 +18,6 @@
|
|
|
18
18
|
### 該当のソースコード(docker.yml)
|
|
19
19
|
|
|
20
20
|
```ここに言語名を入力
|
|
21
|
-
- name: Install pacakges for installation
|
|
22
|
-
become: yes
|
|
23
|
-
with_items:
|
|
24
|
-
- apt-transport-https
|
|
25
|
-
- ca-certificates
|
|
26
|
-
- curl
|
|
27
|
-
apt:
|
|
28
|
-
name: '{{ item }}'
|
|
29
|
-
update_cache: yes
|
|
30
|
-
|
|
31
|
-
- name: Add apt repository
|
|
32
|
-
become: yes
|
|
33
|
-
apt_repository:
|
|
34
|
-
repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
|
|
35
|
-
filename: docker
|
|
36
|
-
|
|
37
21
|
- name: Add apt key
|
|
38
22
|
become: yes
|
|
39
23
|
apt_key:
|