From 31f9ccd3c749de3062108fce405bea60bce2c972 Mon Sep 17 00:00:00 2001 From: xdovahkinx Date: Sun, 14 Jul 2019 00:30:59 -0400 Subject: [PATCH] Add user fncdo. One of three users in the group project. I am not really familiar with ansible, so I don't know if ``createhome`` is a required item, but I selected no, as these users do not need their own home directory, they merely need access to the shared one. I also copied in the pubkey, so I do not know if the formatting it brought over is correct... Here is a link to the pubkey in case... https://pastebin.com/p7iYs5vn --- roles/shell/tasks/users/fncdo.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 roles/shell/tasks/users/fncdo.yml diff --git a/roles/shell/tasks/users/fncdo.yml b/roles/shell/tasks/users/fncdo.yml new file mode 100644 index 0000000..8d574df --- /dev/null +++ b/roles/shell/tasks/users/fncdo.yml @@ -0,0 +1,15 @@ +--- +- name: Setting up fncdo + user: + name: fncdo + groups: fortitude + state: present + skeleton: /etc/skel + shell: /bin/bash + system: no + createhome: no + home: /home/fncdo +- authorized_key: + user: fncdo + state: present + key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDrpTDkkOMR6Mw4rmOAjefoaBQrLm06Bl652PCYvvgK3gAl33pWd3zZhVKFUxwjHg5P+k0YEpZttruDozYdREllWbNpb6rT0hmaaOy5P3SJTqBHuGQCrLLHByiz/yGsq6drgvi9D6jKY11tdV1GvTZALSbPdgkjhe1tcWMDfWrebtJlb9w5fuLxUqbNFwJjxVrKwN59i75UA1IvZiuW5PudgKW6kSYmoqJXRQFZLJmP2wje8cFJURH1TY0Z/FVZch5mYYvwTd5pNpu6PQcbZZG5LBE6DoTj6/hkpnmZ4LgozaAXyD7Tv9ZCenn6GwC6JdqA6HYltn6jqt/0biFlNsJ2uLRT1vRRJdoAoosQJs+jYBe0yvvFEpcqVOoaCBBZUYZ6mmW/GvT9pwY5iGP2Qw/3ve0BYiUDpMel/13GYQZwKAYNy9Vlk4lEi+JPIVdZCXclDpZH5LoguEfN7HSduaoFoTyhny3GLZHPvlYVA3fdNRp4KiLpT0GmmoamewfbofZWbb44/+dvUv+tGcN+cc/MX6tvghh7TFItPQL6yMDSxz4nZnWQHGPcg5Y2jNkUDB32Vu3c1dVztrwaRvN49CN+CDvc+aOoQH4mOaEMLzAStrPwxVMW1jC9ttQOonwMy/k08gqljCsN0toezp8RE9iVVHfLaM/NA3MZJypRP/G7Fw=="