Skip to content

Commit

Permalink
hosts: SSH into shell servers as root
Browse files Browse the repository at this point in the history
Using `sudo`, through the Ansible feature `become`, is problematic
due to hashbang/shell-etc#74 : sudo does not let Ansible escape the
namespace-based sandbox.

Since all admins have SSH keys deployed for `root`,
this is a good alternative.
  • Loading branch information
KellerFuchs committed Feb 26, 2017
1 parent a4ba5c1 commit 0555e39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hosts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ ny1.hashbang.sh
sf1.hashbang.sh
to1.hashbang.sh

[shell_servers]
ansible_user=root


[coreos]
hashbang.sh
im.hashbang.sh
Expand Down

0 comments on commit 0555e39

Please sign in to comment.