Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
servers-config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
servers-config
Commits
c2254309
Commit
c2254309
authored
Mar 02, 2018
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common: call the management user 'manager' instead of 'manage'
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
5e0f3c12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
playbooks/roadhouse.yml
playbooks/roadhouse.yml
+1
-1
roles/common/tasks/users.yml
roles/common/tasks/users.yml
+4
-4
No files found.
playbooks/roadhouse.yml
View file @
c2254309
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
-
role
:
common
-
role
:
common
# SSH keys allowed to deploy with ansible (user "manage")
# SSH keys allowed to deploy with ansible (user "manage
r
")
management_ssh
:
|
management_ssh
:
|
{{ ssh_keys_pietroalbini }}
{{ ssh_keys_pietroalbini }}
{{ ssh_keys_mapreri }}
{{ ssh_keys_mapreri }}
...
...
roles/common/tasks/users.yml
View file @
c2254309
...
@@ -10,17 +10,17 @@
...
@@ -10,17 +10,17 @@
-
passwordless-sudo
-
passwordless-sudo
-
name
:
create user manage
-
name
:
create user manage
r
user
:
user
:
name
:
manage
name
:
manage
r
groups
:
allow-ssh,passwordless-sudo
groups
:
allow-ssh,passwordless-sudo
state
:
present
state
:
present
shell
:
/bin/bash
shell
:
/bin/bash
-
name
:
set ssh keys for manage
-
name
:
set ssh keys for manage
r
authorized_key
:
authorized_key
:
user
:
manage
user
:
manage
r
key
:
"
{{
management_ssh
}}"
key
:
"
{{
management_ssh
}}"
exclusive
:
true
exclusive
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment