Commit bafe3c14 authored by EKbfh's avatar EKbfh 🐼
Browse files


parent c911db6f
Pipeline #10916 failed with stages
in 1 minute and 8 seconds
......@@ -72,11 +72,14 @@ That it.
On each node
* double check that python2.7 is installed on nodes
* create ansible user (*ansible* by default),
* grant it passwordless `sudo` privileges and copy Tower's public ssh key (*/opt/tower/var/tower/data/deploy_keys/*) to *ansible's*
`useradd -d /home/ansible -s /bin/bash -m ansible`
`passwd ansible` -- define ansible user's password, you'll need it later.
* grant it passwordless `sudo` privileges(`ansible ALL=(ALL) NOPASSWD:ALL` in /etc/sudoers) and copy Tower's public ssh key (*/opt/tower/var/tower/data/deploy_keys/*) to *ansible's*
/opt/tower# docker-compose exec tower ssh-copy-id -f -i /opt/tower/var/tower/data/deploy_keys/ ansible@
where `` is the node's IP address. Enter ansible's password, that you already defined somewhere above.
## Deploying
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