Compare commits

..

No commits in common. "58e2f5f8507278c8727520c943c904d3896641cc" and "f34dd35d5c115ec8febe5eb92ecb75005880a2d4" have entirely different histories.

9 changed files with 6 additions and 14 deletions

2
.gitignore vendored
View File

@ -1,5 +1,3 @@
environments
inventories
.vagrant
.vagrant_settings
.vscode

2
Vagrantfile vendored
View File

@ -45,7 +45,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "ansible" do |ansible|
ENV['ANSIBLE_ROLES_PATH'] = File.dirname(__FILE__) + "/roles"
ansible.compatibility_mode = "2.0"
ansible.playbook = "dev/workstation.yml"
ansible.playbook = "site-vagrant.yml"
ansible.raw_arguments = ["--diff"]
end
end

View File

@ -1,5 +1,4 @@
darkmode: false
development: false
homedir: "/home/{{ item.name }}"
# Follows homelab package list:

View File

@ -3,3 +3,4 @@
name: vagrant
password: "$6$xu0I8bbf.Nva7uCo$OHz5/64u0SjHa1jn0EwCLSNw7Zoj5ejhL\
6NtaXYY6zlC0CQa0J4kZIxAp2Ls4lMdLmuo7oMQX/vlDucR9BbcA."

View File

@ -5,17 +5,16 @@
update_cache: true
- name: Create autostart-scripts directory
ansible.builtin.file:
file:
path: "{{ homedir }}/.config/autostart-scripts/"
state: directory
owner: "{{ item.name }}"
group: "{{ item.name }}"
mode: 0700
loop: "{{ users }}"
when: manage_gui
- name: Enable KDE dark theme
ansible.builtin.copy:
copy:
dest: "{{ homedir }}/.config/autostart-scripts/darkmode.sh"
mode: a+x
content: |

View File

@ -9,7 +9,7 @@
name: "{{ item.name }}"
state: present
groups: "{{ item.groups }}"
append: true
append: yes
shell: "{{ item.shell | default('/bin/bash') }}"
create_home: "{{ item.home | default(false) }}"
loop: "{{ users }}"

View File

@ -1,5 +0,0 @@
- name: Install Workstation
hosts: localhost
become: true
roles:
- common