Commit c2254309 authored by Mattia Rizzolo's avatar Mattia Rizzolo

common: call the management user 'manager' instead of 'manage'

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 5e0f3c12
...@@ -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 "manager")
management_ssh: | management_ssh: |
{{ ssh_keys_pietroalbini }} {{ ssh_keys_pietroalbini }}
{{ ssh_keys_mapreri }} {{ ssh_keys_mapreri }}
......
...@@ -10,17 +10,17 @@ ...@@ -10,17 +10,17 @@
- passwordless-sudo - passwordless-sudo
- name: create user manage - name: create user manager
user: user:
name: manage name: manager
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 manager
authorized_key: authorized_key:
user: manage user: manager
key: "{{ management_ssh }}" key: "{{ management_ssh }}"
exclusive: true exclusive: true
......
Markdown is supported
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