Compare commits
No commits in common. "58e2f5f8507278c8727520c943c904d3896641cc" and "f34dd35d5c115ec8febe5eb92ecb75005880a2d4" have entirely different histories.
58e2f5f850
...
f34dd35d5c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,3 @@
|
|||||||
environments
|
|
||||||
inventories
|
|
||||||
.vagrant
|
.vagrant
|
||||||
.vagrant_settings
|
.vagrant_settings
|
||||||
.vscode
|
.vscode
|
||||||
|
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@ -45,7 +45,7 @@ Vagrant.configure("2") do |config|
|
|||||||
config.vm.provision "ansible" do |ansible|
|
config.vm.provision "ansible" do |ansible|
|
||||||
ENV['ANSIBLE_ROLES_PATH'] = File.dirname(__FILE__) + "/roles"
|
ENV['ANSIBLE_ROLES_PATH'] = File.dirname(__FILE__) + "/roles"
|
||||||
ansible.compatibility_mode = "2.0"
|
ansible.compatibility_mode = "2.0"
|
||||||
ansible.playbook = "dev/workstation.yml"
|
ansible.playbook = "site-vagrant.yml"
|
||||||
ansible.raw_arguments = ["--diff"]
|
ansible.raw_arguments = ["--diff"]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
darkmode: false
|
darkmode: false
|
||||||
development: false
|
|
||||||
homedir: "/home/{{ item.name }}"
|
homedir: "/home/{{ item.name }}"
|
||||||
|
|
||||||
# Follows homelab package list:
|
# Follows homelab package list:
|
||||||
|
@ -3,3 +3,4 @@
|
|||||||
name: vagrant
|
name: vagrant
|
||||||
password: "$6$xu0I8bbf.Nva7uCo$OHz5/64u0SjHa1jn0EwCLSNw7Zoj5ejhL\
|
password: "$6$xu0I8bbf.Nva7uCo$OHz5/64u0SjHa1jn0EwCLSNw7Zoj5ejhL\
|
||||||
6NtaXYY6zlC0CQa0J4kZIxAp2Ls4lMdLmuo7oMQX/vlDucR9BbcA."
|
6NtaXYY6zlC0CQa0J4kZIxAp2Ls4lMdLmuo7oMQX/vlDucR9BbcA."
|
||||||
|
|
||||||
|
@ -5,17 +5,16 @@
|
|||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
- name: Create autostart-scripts directory
|
- name: Create autostart-scripts directory
|
||||||
ansible.builtin.file:
|
file:
|
||||||
path: "{{ homedir }}/.config/autostart-scripts/"
|
path: "{{ homedir }}/.config/autostart-scripts/"
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ item.name }}"
|
owner: "{{ item.name }}"
|
||||||
group: "{{ item.name }}"
|
group: "{{ item.name }}"
|
||||||
mode: 0700
|
|
||||||
loop: "{{ users }}"
|
loop: "{{ users }}"
|
||||||
when: manage_gui
|
when: manage_gui
|
||||||
|
|
||||||
- name: Enable KDE dark theme
|
- name: Enable KDE dark theme
|
||||||
ansible.builtin.copy:
|
copy:
|
||||||
dest: "{{ homedir }}/.config/autostart-scripts/darkmode.sh"
|
dest: "{{ homedir }}/.config/autostart-scripts/darkmode.sh"
|
||||||
mode: a+x
|
mode: a+x
|
||||||
content: |
|
content: |
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
state: present
|
state: present
|
||||||
groups: "{{ item.groups }}"
|
groups: "{{ item.groups }}"
|
||||||
append: true
|
append: yes
|
||||||
shell: "{{ item.shell | default('/bin/bash') }}"
|
shell: "{{ item.shell | default('/bin/bash') }}"
|
||||||
create_home: "{{ item.home | default(false) }}"
|
create_home: "{{ item.home | default(false) }}"
|
||||||
loop: "{{ users }}"
|
loop: "{{ users }}"
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
- name: Install Workstation
|
|
||||||
hosts: localhost
|
|
||||||
become: true
|
|
||||||
roles:
|
|
||||||
- common
|
|
Loading…
x
Reference in New Issue
Block a user