1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sway.git synced 2024-08-16 13:49:49 +02:00

Cleanup a bit

This commit is contained in:
L3D 2024-07-23 13:32:33 +02:00
parent 5fc2c88380
commit 1166aa014b
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 10 additions and 26 deletions

View file

@ -25,20 +25,3 @@
loop_var: swayusr
label: "{{ swayusr.home }}/.config/waybar/"
when: sway__waybar | bool
# - name: Ensure i3 packages are installed [Archlinux}
# ansible.builtin.include_tasks:
# file: setup-Archlinux.yml
# when: ansible_os_family == 'Archlinux'
#
# - name: Ensure i3 packages are installed [RHEL].
# ansible.builtin.include_tasks:
# file: setup-RedHat.yml
# when: ansible_os_family == 'Fedora' or ansible_os_family == 'RedHat'
# - name: Create i3 config file
# ansible.builtin.include_tasks:
# file: config.yml
# loop: "{{ i3wm_user_list | flatten(1) }}"
# loop_control:
# loop_var: i3wm_usr

View file

@ -7,12 +7,6 @@
when:
- ansible_pkg_mgr == "apt"
# - name: Ensure i3 packages are installed.
# ansible.builtin.apt:
# name: "{{ i3_packages }}"
# state: "present"
# become: true
- name: Ensure swaywm is installed.
ansible.builtin.apt:
name: "{{ item }}"
@ -28,7 +22,6 @@
- 'swayimg'
- 'wdisplays'
- 'wlsunset'
- 'waybar'
- name: Ensure font-awesome is installed
ansible.builtin.apt:

View file

@ -1,8 +1,16 @@
---
- name: Ensure waybar is installed.
ansible.builtin.apt:
name: "{{ item }}"
state: "present"
become: true
with_items:
- 'waybar'
- name: Create waybar config folder
become: true
ansible.builtin.file:
path: "{{ swayusr.home }}/.config/waybr/"
path: "{{ swayusr.home }}/.config/waybar/"
state: directory
mode: '0750'
owner: "{{ swayusr.user }}"

View file

@ -1,3 +1,3 @@
---
playbook_version_number: 5 # should be int
playbook_version_number: 6 # should be int
playbook_version_path: 'role-roles-ansible.sway.version'