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 @@
- role: common
# SSH keys allowed to deploy with ansible (user "manage")
# SSH keys allowed to deploy with ansible (user "manager")
management_ssh: |
{{ ssh_keys_pietroalbini }}
{{ ssh_keys_mapreri }}
......
......@@ -10,17 +10,17 @@
- passwordless-sudo
- name: create user manage
- name: create user manager
user:
name: manage
name: manager
groups: allow-ssh,passwordless-sudo
state: present
shell: /bin/bash
- name: set ssh keys for manage
- name: set ssh keys for manager
authorized_key:
user: manage
user: manager
key: "{{ management_ssh }}"
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