make distinction between bash and csh shell config
This commit is contained in:
parent
95e4ee8c06
commit
c53f502220
4 changed files with 49 additions and 12 deletions
|
@ -28,7 +28,7 @@
|
|||
backup: yes
|
||||
with_subelements:
|
||||
- "{{ users }}"
|
||||
- shell_lines
|
||||
- bash_lines
|
||||
- skip_missing: true
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
|||
state: "{{ item.1.state | default('present')}}"
|
||||
with_subelements:
|
||||
- "{{ users }}"
|
||||
- shell_lines
|
||||
- csh_lines
|
||||
- skip_missing: true
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue