Skip to content
Snippets Groups Projects
Commit 779b7bb4 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

add a new ippidb system user

Former-commit-id: 13b49caddee78b2d74d9a492b49ef474a98e686c
parent 73a2c371
No related branches found
No related tags found
No related merge requests found
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
- hosts: all - hosts: all
gather_facts: no gather_facts: no
tasks: tasks:
- name: Create ubuntu user - name: Create ippidb user
user: name=ubuntu generate_ssh_key=yes ssh_key_bits=2048 ssh_key_file=.ssh/id_rsa user: name=ippidb generate_ssh_key=yes ssh_key_bits=2048 ssh_key_file=.ssh/id_rsa
- name: Read SSH public key - name: Read SSH public key
slurp: src=/home/ubuntu/.ssh/id_rsa.pub slurp: src=/home/ippidb/.ssh/id_rsa.pub
register: public_key register: public_key
- debug: msg="{{ public_key['content'] | b64decode }}" - debug: msg="{{ public_key['content'] | b64decode }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment