aboutsummaryrefslogtreecommitdiff
path: root/src/packages/install.yaml
blob: 2823c7c038df332a762062ded1d48f95507d58f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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