Kouhei Sutou 2014-09-10 10:56:13 +0900 (Wed, 10 Sep 2014)
New Revision: d7c254e5ac7d8c0d7a9e78933ca3cf72a4dadcec
https://github.com/project-hatohol/hatohol/commit/d7c254e5ac7d8c0d7a9e78933ca3cf72a4dadcec
Message:
[setup][ansible] Markup as Markdown
Added files:
setup-with-ansible/README.md
Removed files:
setup-with-ansible/README
Deleted: setup-with-ansible/README (+0 -43) 100644
===================================================================
--- setup-with-ansible/README 2014-09-10 10:30:28 +0900 (5763fbe)
+++ /dev/null
@@ -1,43 +0,0 @@
-* Make a file including IP addresses or host names to be set up. Any file name is OK. Here we name it 'hosts' like the following example.
-
- $ cat hosts
- [targets]
- 192.168.10.1
-
-If you set up the machine on itself, the following can be acceptable.
-
- [targets]
- localhost
-
-* run
-
- $ ansible-playbook -i hosts setup-hatohol-dev.yaml
-
-* Tips
-- When the command fails with the following message.
-
- Received message too long 1349281121
-
-Create a file: ansible.cfg with the following content in the directory the command runs on
-
- [ssh_connection]
- scp_if_ssh=True
-
-- When the command fails with the following message.
-
- Please login as the user "ubuntu" rather than the user "root".
-
-Replace 'user: root' into 'user: ubuntu' and set sudo: True in setup-hatohol-dev.yaml as below.
-
- user: ubutnu
- sudo: True
-
-This problem happens when the target OS is Ubuntu for cloud.
-
-- When the command fails with the following message.
-
- stderr: E: There are problems and -y was used without --force-yes
-
-It may be solved by doing the following command on the target machine.
-
- $ sudo apt-get update
Added: setup-with-ansible/README.md (+42 -0) 100644
===================================================================
--- /dev/null
+++ setup-with-ansible/README.md 2014-09-10 10:56:13 +0900 (13bd53e)
@@ -0,0 +1,42 @@
+# README
+
+## How to use
+
+Make a file including IP addresses or host names to be set up. Any file name is OK. Here we name it 'hosts' like the following example.
+
+ $ cat hosts
+ [targets]
+ 192.168.10.1
+
+If you set up the machine on itself, the following can be acceptable.
+
+ [targets]
+ localhost
+
+Run:
+
+ $ ansible-playbook -i hosts setup-hatohol-dev.yaml
+
+## Troubleshooting
+
+### `Received message too long 1349281121`
+
+Create a file: ansible.cfg with the following content in the directory the command runs on
+
+ [ssh_connection]
+ scp_if_ssh=True
+
+### `Please login as the user "ubuntu" rather than the user "root".`
+
+Replace 'user: root' into 'user: ubuntu' and set sudo: True in setup-hatohol-dev.yaml as below.
+
+ user: ubutnu
+ sudo: True
+
+This problem happens when the target OS is Ubuntu for cloud.
+
+### `stderr: E: There are problems and -y was used without --force-yes`
+
+It may be solved by doing the following command on the target machine.
+
+ $ sudo apt-get update
|