# setup config files
- name: Clear /etc/vimrc
copy:
src: etc/vimrc
dest: /etc/vimrc
mode: 0644
force: yes
- name: Install /etc/sudoers
src: etc/sudoers
dest: /etc/sudoers
# pip packages
- name: yq - YAML Query
pip:
name: yq
# services
- name: Enable SSH Daemon
service:
name: sshd
enabled: yes
state: started
- name: Enable Docker Daemon
name: docker
# setup users and groups
- name: wheel Group
group:
name: wheel
state: present
- name: Add gary to wheel
user:
name: gary
groups: wheel
append: true
- name: Docker Group
- name: Add gary to docker
groups: docker
- name: libvirt Group
name: libvirt
- name: Add gary to libvirt
groups: libvirt
- name: Enable Syncthing Daemon
name: "syncthing@gary"