From 972444dcf235cca29c4112cc35c95c5393bd1d0c Mon Sep 17 00:00:00 2001 From: Aaditya Dhruv Date: Sat, 9 Sep 2023 18:38:10 -0500 Subject: 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 --- src/packages/install.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/packages/install.yaml (limited to 'src/packages/install.yaml') 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 + -- cgit