Commit 2c82f513 authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Update Readme.md

parent 62c58a5d
...@@ -73,9 +73,7 @@ Replace /opt/tower/ to directory of your choice ...@@ -73,9 +73,7 @@ Replace /opt/tower/ to directory of your choice
Add user tower to sudo group. Add user tower to sudo group.
* For example: `adduser tower sudo` * For example: `adduser tower sudo`
* Select Local installation type with local ip on Nodes screen. * Select Local installation type with local ip on Nodes screen.
* Run Tower
- Run Tower
``` ```
#!shell #!shell
/opt/tower# su - tower -c "cd /opt/tower && ./bin/tower-web" /opt/tower# su - tower -c "cd /opt/tower && ./bin/tower-web"
...@@ -96,8 +94,7 @@ Add user tower to sudo group. ...@@ -96,8 +94,7 @@ Add user tower to sudo group.
## Prepare nodes ## Prepare nodes
On each node On each node
* create ansible user (*ansible* by default), * create ansible user (*ansible* by default),
* grant it passwordless sudo privileges and copy Tower's * grant it passwordless sudo privileges and copy Tower's public ssh key (*/home/tower/.ssh/id_rsa.pub*) to *ansible's*
* copy public ssh key (*/home/tower/.ssh/id_rsa.pub*) to *ansible's*
``` ```
#!shell #!shell
/opt/tower# su - tower -c "ssh-copy-id node_ip" /opt/tower# su - tower -c "ssh-copy-id node_ip"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment