Skip to content

Commit

Permalink
start a wayland file
Browse files Browse the repository at this point in the history
Signed-off-by: clux <sszynrae@gmail.com>
  • Loading branch information
clux committed May 19, 2023
1 parent f66650b commit 1c72474
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
5 changes: 5 additions & 0 deletions roles/arch/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
become: yes
tags: [arch, core]

- import_tasks: wayland.yml
when: ansible_os_family == "Archlinux"
become: yes
tags: [arch, core]

- import_tasks: linux.yml
when: ansible_os_family == "Archlinux"
become: yes
Expand Down
8 changes: 0 additions & 8 deletions roles/arch/tasks/systemd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,3 @@
# name: systemd-resolved
# enabled: yes
# state: started

# greetd (autologin)
- name: greetd config dir
file: path=/etc/greetd/ state=directory
- name: greetd config with autologin
template: src=templates/greetdconfig.toml dest=/etc/greetd/config.toml
- name: systemctl enable greetd
systemd: name=greetd enabled=yes
10 changes: 10 additions & 0 deletions roles/arch/tasks/wayland.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
# systemd

# greetd (autologin)
- name: greetd config dir
file: path=/etc/greetd/ state=directory
- name: greetd config with autologin
template: src=templates/greetdconfig.toml dest=/etc/greetd/config.toml
- name: systemctl enable greetd
systemd: name=greetd enabled=yes

0 comments on commit 1c72474

Please sign in to comment.