aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation/basetools/tasks
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-29 15:20:47 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-29 15:54:09 +0100
commitcadc8824e093f37c36263b2aefba3cd680389f0b (patch)
treef25fec4782f585166b314e49b0c30577ecfe9694 /roles/_workstation/basetools/tasks
parent8ce56f15e0751870b56805010241dcfe8389b10f (diff)
downloadrules-cadc8824e093f37c36263b2aefba3cd680389f0b.tar.gz
feat(roles/_workstation): add makepkg role
Diffstat (limited to 'roles/_workstation/basetools/tasks')
-rw-r--r--roles/_workstation/basetools/tasks/install.yml22
-rw-r--r--roles/_workstation/basetools/tasks/main.yml8
2 files changed, 30 insertions, 0 deletions
diff --git a/roles/_workstation/basetools/tasks/install.yml b/roles/_workstation/basetools/tasks/install.yml
new file mode 100644
index 0000000..5e24f4e
--- /dev/null
+++ b/roles/_workstation/basetools/tasks/install.yml
@@ -0,0 +1,22 @@
+---
+
+- name: install distribution packages
+ ansible.builtin.package:
+ name: "{{ item }}"
+ state: present
+ loop:
+ - "{{ basetools_common_packages }}"
+ - "{{ basetools_distribution_packages }}"
+
+- name: install community package
+ ansible.builtin.include_role:
+ name: _workstation/makepkg
+ vars:
+ makepkg_package_name: "{{ item }}"
+ loop:
+ - conftest
+ - dive-bin
+ - pandoc-bin
+ - pipewatch-git
+ - wkhtmltopdf
+ when: ansible_distribution in ["Archlinux"]
diff --git a/roles/_workstation/basetools/tasks/main.yml b/roles/_workstation/basetools/tasks/main.yml
index f53d213..6b8e1cd 100644
--- a/roles/_workstation/basetools/tasks/main.yml
+++ b/roles/_workstation/basetools/tasks/main.yml
@@ -11,3 +11,11 @@
loop:
- "{{ basetools_common_packages }}"
- "{{ basetools_distribution_packages }}"
+
+- name: install community package
+ ansible.builtin.include_role:
+ name: _workstation/makepkg
+ vars:
+ makepkg_package_name: "{{ item }}"
+ loop: "{{ basetools_makepkg_packages }}"
+ when: ansible_distribution in ["Archlinux"]
remember that computers suck.