Skip to content

Commit 6f62e06

Browse files
committed
Ensure first username is on a new line
1 parent 49d20df commit 6f62e06

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

ansible/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Basic list of commands needed to get this ansible formula running on a server.
44
#
55
# Unsafe Usage:
6-
# curl -s https://raw.githubusercontent.com/recoverysource/services/refs/heads/release/ansible/bootstrap | bash
6+
# wget https://raw.githubusercontent.com/recoverysource/services/refs/heads/release/ansible/bootstrap; bash bootstrap
77
##
88
set -e
99

ansible/roles/common/templates/access.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
+:root:ALL
3636

3737
# Allow device owner to do things
38-
{%- for username in common_users.keys() %}
39-
+:{{ username }}:ALL{% endfor %}
38+
{% for username in common_users.keys() -%}
39+
+:{{ username }}:ALL
40+
{% endfor %}
4041

4142
# Disallow console logins to all but a few accounts.
4243
-:ALL EXCEPT wheel shutdown sync:LOCAL

0 commit comments

Comments
 (0)