Make ansiblels happy

This commit is contained in:
Yorick Barbanneau 2023-03-14 17:10:16 +01:00
parent eb1def3633
commit f03d5ebf67

View file

@ -21,7 +21,8 @@
- name: Merge Kanshi profiles variable
ansible.builtin.set_fact:
sway_outputs: '{{ local_kanshi_profiles |
sway_outputs: |
'{{ local_kanshi_profiles |
community.general.lists_mergeby(kanshi_profiles, "profile") }}'
when: local_kanshi_profiles is defined
@ -33,8 +34,8 @@
ansible.builtin.copy:
src: config/
dest: '{{ ansible_user_dir }}/.config/'
mode: 0640
directory_mode: 0750
mode: '0640'
directory_mode: '0750'
- name: Install packages
ansible.builtin.package:
@ -51,7 +52,7 @@
ansible.builtin.copy:
src: '{{ item }}'
dest: '{{ ansible_user_dir }}'
mode: 0640
mode: '0640'
loop:
- zsh/.zshrc
- zsh/.zprofile
@ -132,7 +133,6 @@
mode: 0750
- block:
- name: Reload Systemd daemon
ansible.builtin.systemd:
scope: user