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:
parent
5fc2c88380
commit
1166aa014b
4 changed files with 10 additions and 26 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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 }}"
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue