Old ansible configuration for servers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

chris-user.yml 446B

123456789101112131415161718192021
  1. ---
  2. # Ensures that an appropriate 'Chris' user is created
  3. - hosts: chris-access
  4. user: root
  5. tasks:
  6. - name: create chris user
  7. user: name=chris
  8. - include: includes/ssh-keys user=chris key_dir=chris
  9. - name: deploy vimrc
  10. remote_user: chris
  11. copy: dest=~/.vimrc
  12. src=/etc/ansible/data/config/chris-vimrc
  13. - include: includes/install-fish
  14. - name: set default shell to fish
  15. user: name=chris shell=/usr/bin/fish