Skip to content

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ruupert committed Apr 28, 2024
1 parent 58b7b1b commit e0f7d8d
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 87 deletions.
49 changes: 2 additions & 47 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,54 +1,9 @@
Vagrant.require_version ">= 1.8.0"
Vagrant.configure(2) do |config|

config.vm.define "deb12dwm" do |debian|
config.vm.define "debian" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12dwm"
end

config.vm.define "deb12dmenu" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12dmenu"
end

config.vm.define "deb12dwmstatus" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12dwmstatus"
end

config.vm.define "deb12slock" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12slock"
end

config.vm.define "deb12slstatus" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12slstatus"
end

config.vm.define "deb12st" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12st"
end

config.vm.define "deb12surf" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12surf"
end

config.vm.define "deb12tabbed" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12tabbed"
end

config.vm.define "deb12wmname" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12wmname"
end

config.vm.define "deb12all" do |debian|
debian.vm.box = "generic/debian12"
debian.vm.hostname = "deb12all"
debian.vm.hostname = "debian"
end

# no kvm provider sadly for freebsd..
Expand Down
2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fact_caching_timeout = 86400
stdout_callback = default
display_skipped_hosts = no
library = ./library
callbacks_enabled = profile_tasks,ara_default
callbacks_enabled = profile_tasks
roles_path = roles:$VIRTUAL_ENV/usr/local/share/ansible/roles
deprecation_warnings=False
inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo, .creds, .gpg
Expand Down
7 changes: 7 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ releases:
minor_changes:
- added option to set timezone for dwmstatus role
release_date: '2024-04-27'
1.0.2:
changes:
bugfixes:
- apt update cache set to true for each role
minor_changes:
- does not install xorg as dependency, some might use wayland
release_date: '2024-04-28'
5 changes: 3 additions & 2 deletions galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
namespace: ruupert
name: suckless
version: 1.0.1
version: 1.0.2
readme: README.md
authors:
- Raul Becker
description: Clones, patches, compiles and installs x11 suckless progs.
license:
- GPL-2.0-or-later
tags: ['linux', 'freebsd', 'dwm', 'dmenu', 'st', 'dwmstatus', 'slstatus', 'surf', 'tabbed', 'wmname', 'slock']
tags: ['dwm', 'dmenu', 'st', 'dwmstatus', 'slstatus', 'surf', 'tabbed', 'wmname', 'slock']
dependencies:
community.general: '>=1.5.4'
ansible.posix: '>=8.6.0'
Expand All @@ -23,6 +23,7 @@ build_ignore:
- ansible.cfg
- Vagrantfile
- setup.sh
- test.sh
- requirements.yml
- .ansible-lint
- '*.tar.gz'
Expand Down
52 changes: 16 additions & 36 deletions playbook.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,26 @@
---
- name: "Debian per role"
hosts: all:!deb12all
become: true
roles:
- { role: dwm, when: "inventory_hostname == 'deb12dwm'" }
- { role: dwm, when: "inventory_hostname == 'deb12dwm'", vars: { act: 'recompile' } }
- { role: dmenu, when: "inventory_hostname == 'deb12dmenu'" }
- { role: dmenu, when: "inventory_hostname == 'deb12dmenu'", vars: { act: 'recompile' } }
- { role: dwmstatus, when: "inventory_hostname == 'deb12dwmstatus'" }
- { role: dwmstatus, when: "inventory_hostname == 'deb12dwmstatus'", vars: { act: 'recompile' } }
- { role: slock, when: "inventory_hostname == 'deb12slock'" }
- { role: slock, when: "inventory_hostname == 'deb12slock'", vars: { act: 'recompile' } }
- { role: slstatus, when: "inventory_hostname == 'deb12slstatus'" }
- { role: slstatus, when: "inventory_hostname == 'deb12slstatus'", vars: { act: 'recompile' } }
- { role: st, when: "inventory_hostname == 'deb12st'" }
- { role: st, when: "inventory_hostname == 'deb12st'", vars: { act: 'recompile' } }
- { role: surf, when: "inventory_hostname == 'deb12surf'" }
- { role: surf, when: "inventory_hostname == 'deb12surf'", vars: { act: 'recompile' } }
- { role: tabbed, when: "inventory_hostname == 'deb12tabbed'" }
- { role: tabbed, when: "inventory_hostname == 'deb12tabbed'", vars: { act: 'recompile' } }
- { role: wmname, when: "inventory_hostname == 'deb12wmname'" }
- { role: wmname, when: "inventory_hostname == 'deb12wmname'", vars: { act: 'recompile' } }

- name: "Debian All"
hosts: deb12all
- name: "Debian dwm"
hosts: "all:!localhost"
become: true
roles:
- { role: dwm }
- { role: dwm, vars: { act: 'recompile' } }
- { role: dwm, vars: { rerun: 'true'} }
- { role: dmenu }
- { role: dmenu, vars: { act: 'recompile' } }
- { role: dmenu, vars: { rerun: 'true'} }
- { role: dwmstatus }
- { role: dwmstatus, vars: { act: 'recompile' } }
- { role: dwmstatus, vars: { rerun: 'true'} }
- { role: slock }
- { role: slock, vars: { act: 'recompile' } }
- { role: slock, vars: { rerun: 'true'} }
- { role: slstatus }
- { role: slstatus, vars: { act: 'recompile' } }
- { role: slstatus, vars: { rerun: 'true'} }
- { role: st }
- { role: st, vars: { act: 'recompile' } }
- { role: st, vars: { rerun: 'true'} }
- { role: surf }
- { role: tabbed }
- { role: wmname }
- { role: dwm, vars: { act: 'recompile' } }
- { role: dmenu, vars: { act: 'recompile' } }
- { role: dwmstatus, vars: { act: 'recompile' } }
- { role: slock, vars: { act: 'recompile' } }
- { role: slstatus, vars: { act: 'recompile' } }
- { role: st, vars: { act: 'recompile' } }
- { role: surf, vars: { act: 'recompile' } }
- { role: tabbed, vars: { act: 'recompile' } }
- { role: wmname, vars: { act: 'recompile' } }
- { role: surf, vars: { act: 'recompile' } }
- { role: surf, vars: { rerun: 'true'} }
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ python3 $VENVDIR/bin/activate
pip3 install -r requirements.txt

vagrant up --no-parallel
vagrant destroy -f
# vagrant destroy -f

0 comments on commit e0f7d8d

Please sign in to comment.