diff options
author | Aaditya Dhruv <[email protected]> | 2023-09-09 18:38:10 -0500 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2023-09-09 18:39:22 -0500 |
commit | 972444dcf235cca29c4112cc35c95c5393bd1d0c (patch) | |
tree | cde29a8c17962c0de29482c7e0c8bd9222138028 /src/packages/install.yaml | |
parent | bd62baf6409f71ba3ceadfb92604b38f260e3374 (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.yaml | 15 |
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 + |