aboutsummaryrefslogtreecommitdiff
path: root/src/packages/install.yaml
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2023-09-09 18:38:10 -0500
committerAaditya Dhruv <[email protected]>2023-09-09 18:39:22 -0500
commit972444dcf235cca29c4112cc35c95c5393bd1d0c (patch)
treecde29a8c17962c0de29482c7e0c8bd9222138028 /src/packages/install.yaml
parentbd62baf6409f71ba3ceadfb92604b38f260e3374 (diff)
Add packages directory for package management
The install playbook here will manage installing packages as per the groups in packages.yaml. It also needs to handle non-dnf packages such as rust, pip etc. which will be done later
Diffstat (limited to 'src/packages/install.yaml')
-rw-r--r--src/packages/install.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/packages/install.yaml b/src/packages/install.yaml
new file mode 100644
index 0000000..2823c7c
--- /dev/null
+++ b/src/packages/install.yaml
@@ -0,0 +1,15 @@
+- name: Wayland Setup
+ hosts: all
+ remote_user: root
+ connection: local
+ vars:
+ packages: "{{ lookup('file', './packages.yaml') | from_yaml }}"
+ tasks:
+ - name: Package Management
+ ansible.builtin.debug:
+ msg: Using packages.yaml as source
+ - name: Installing Packages
+ ansible.builtin.dnf:
+ name: "{{ packages.groups.development }}"
+ state: latest
+