Make ansiblels happy
This commit is contained in:
parent
eb1def3633
commit
f03d5ebf67
1 changed files with 24 additions and 24 deletions
10
playbook.yml
10
playbook.yml
|
@ -21,7 +21,8 @@
|
||||||
|
|
||||||
- name: Merge Kanshi profiles variable
|
- name: Merge Kanshi profiles variable
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
sway_outputs: '{{ local_kanshi_profiles |
|
sway_outputs: |
|
||||||
|
'{{ local_kanshi_profiles |
|
||||||
community.general.lists_mergeby(kanshi_profiles, "profile") }}'
|
community.general.lists_mergeby(kanshi_profiles, "profile") }}'
|
||||||
when: local_kanshi_profiles is defined
|
when: local_kanshi_profiles is defined
|
||||||
|
|
||||||
|
@ -33,8 +34,8 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: config/
|
src: config/
|
||||||
dest: '{{ ansible_user_dir }}/.config/'
|
dest: '{{ ansible_user_dir }}/.config/'
|
||||||
mode: 0640
|
mode: '0640'
|
||||||
directory_mode: 0750
|
directory_mode: '0750'
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
|
@ -51,7 +52,7 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: '{{ item }}'
|
src: '{{ item }}'
|
||||||
dest: '{{ ansible_user_dir }}'
|
dest: '{{ ansible_user_dir }}'
|
||||||
mode: 0640
|
mode: '0640'
|
||||||
loop:
|
loop:
|
||||||
- zsh/.zshrc
|
- zsh/.zshrc
|
||||||
- zsh/.zprofile
|
- zsh/.zprofile
|
||||||
|
@ -132,7 +133,6 @@
|
||||||
mode: 0750
|
mode: 0750
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
|
|
||||||
- name: Reload Systemd daemon
|
- name: Reload Systemd daemon
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
scope: user
|
scope: user
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue