Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 915 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 915 Bytes

ansible-linux-laptop1

Experimenting with Ansible to start managing the configuration of my laptop. I primarily use it for browsing and coding, the occasional light gaming on steam.

To use it for yourself, place necessary vars in vars/main.yml and vars/secret.yml:

vars/secret.yml2
---
secret:
  user:
    name: "username"
    comment: "user comment"
    password: "changeme"
vars/main.yml
---
user:
  name: "{{ secret.user.name }}"
  comment: "{{ secret.user.comment }}"
  password: "{{ secret.user.password }}"
  paths:
    home: "/home/{{ secret.user.name }}"
    data: "/home/{{ secret.user.name }}/.data"
  1. better project name to likely come later
  2. Refer to Ansible's documentation for ways to store a crypted password in this file