make distinction between bash and csh shell config

This commit is contained in:
Vincent Van der Kussen 2018-08-18 14:07:19 +02:00
parent 95e4ee8c06
commit c53f502220
4 changed files with 49 additions and 12 deletions

View file

@ -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'