clean: Remove end_host && trailing whitespaces

This commit is contained in:
Glenn Y. Rolland 2022-11-20 15:29:11 +01:00
parent de2d2db387
commit 30fd1328a0

View file

@ -1,7 +1,7 @@
---
- name: List installable sh scripts
become: false
local_action:
local_action:
module: ansible.builtin.shell
cmd: ls -1 "{{role_path}}/files/bashrc.d/"*.sh
register: bash_scripts
@ -24,23 +24,23 @@
mode: 0644
become: true
become_user: "{{item[0]}}"
with_nested:
with_nested:
- "{{bash_users}}"
- ['bashrc', 'bash_profile', 'bash_aliases']
- meta: end_host
# - meta: end_host
- name: Create bashrc.d directory
file:
path: ~/.bashrc.d
file:
path: ~/.bashrc.d
state: directory
become: true
become_user: "{{item}}"
with_items: "{{bash_users}}"
- name: Install bashrc.d files
copy:
src: "{{item[1]}}"
copy:
src: "{{item[1]}}"
dest: "~/.bashrc.d/{{item[1]|basename}}"
become: true
become_user: "{{item[0]}}"
@ -48,3 +48,4 @@
- "{{bash_users}}"
- "{{bash_scripts.stdout_lines}}"
#