File tree Expand file tree Collapse file tree
ansible/.ansible/dwm/roles/conf/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 tun
6868 - name : Get user
6969 ansible.builtin.set_fact :
70- whoami : ' {{ ansible_user_id }}'
70+ conf_whoami : ' {{ ansible_user_id }}'
7171 become : no
7272 - name : Rootless support
7373 ansible.builtin.copy :
7474 dest : ' /etc/{{ item }}'
7575 content : |
76- {{ whoami }}:100000:65536
76+ {{ conf_whoami }}:100000:65536
7777 with_items :
7878 - subgid
7979 - subuid
158158 - name : Check bios or efi
159159 ansible.builtin.stat :
160160 path : /sys/firmware/efi
161- register : efi
161+ register : conf_efi
162162 - name : Enable fwupd if efi
163163 ansible.builtin.command :
164164 cmd : rc-update add fwupd
165- when : efi .stat.exists
165+ when : conf_efi .stat.exists
166166
167167- name : Python alias
168168 ansible.builtin.file :
174174 block :
175175 - name : Get user
176176 ansible.builtin.set_fact :
177- whoami : ' {{ ansible_user_id }}'
177+ conf_whoami : ' {{ ansible_user_id }}'
178178 become : no
179179 - name : Add to input
180180 ansible.builtin.command :
181- cmd : adduser '{{ whoami }}' input
181+ cmd : adduser '{{ conf_whoami }}' input
182182
183183- name : Chsh fish
184184 ansible.builtin.command :
Original file line number Diff line number Diff line change 2222 paths : ' {{ ansible_user_dir }}/.dotfiles/'
2323 file_type : directory
2424 excludes : .cache,.git,.github,Xorg
25- register : find_result
25+ register : conf_find_result
2626 - name : Stow them
2727 ansible.builtin.command :
2828 cmd : stow "{{ item.path | basename }}"
2929 chdir : ' {{ ansible_user_dir }}/.dotfiles/'
30- with_items : ' {{ find_result .files }}'
30+ with_items : ' {{ conf_find_result .files }}'
3131
3232- name : Create not standard XDG dirs
3333 ansible.builtin.file :
You can’t perform that action at this time.
0 commit comments