mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
iiab-admin/tasks/pwd-warnings.yml: Rename templates to .j2
This commit is contained in:
parent
029778139b
commit
cb0f1f171c
3 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
- name: Install /etc/profile.d/sshpwd-profile-iiab.sh from template, to issue warnings (during shell/ssh logins) if iiab-admin password is the default
|
- name: Install /etc/profile.d/sshpwd-profile-iiab.sh from template, to issue warnings (during shell/ssh logins) if iiab-admin password is the default
|
||||||
template:
|
template:
|
||||||
src: sshpwd-profile-iiab.sh
|
src: sshpwd-profile-iiab.sh.j2
|
||||||
dest: /etc/profile.d/
|
dest: /etc/profile.d/sshpwd-profile-iiab.sh
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
- name: Is this LXDE-pi?
|
- name: Is this LXDE-pi?
|
||||||
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
- name: "Likewise for Raspbian, installing: /etc/xdg/lxsession/LXDE-pi/sshpwd-lxde-iiab.sh"
|
- name: "Likewise for Raspbian, installing: /etc/xdg/lxsession/LXDE-pi/sshpwd-lxde-iiab.sh"
|
||||||
template:
|
template:
|
||||||
src: sshpwd-lxde-iiab.sh
|
src: sshpwd-lxde-iiab.sh.j2
|
||||||
dest: /etc/xdg/lxsession/LXDE-pi/
|
dest: /etc/xdg/lxsession/LXDE-pi/sshpwd-lxde-iiab.sh
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
when: lx.stat.isdir is defined and lx.stat.isdir and is_raspbian and is_debuntu
|
when: lx.stat.isdir is defined and lx.stat.isdir and is_raspbian and is_debuntu
|
||||||
|
|
||||||
|
@ -28,4 +28,4 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/xdg/lxsession/LXDE-pi/autostart
|
path: /etc/xdg/lxsession/LXDE-pi/autostart
|
||||||
line: "@/etc/xdg/lxsession/LXDE-pi/sshpwd-lxde-iiab.sh"
|
line: "@/etc/xdg/lxsession/LXDE-pi/sshpwd-lxde-iiab.sh"
|
||||||
when: lx.stat.isdir is defined and lx.stat.isdir and is_raspbian and is_debuntu
|
when: lx.stat.isdir is defined and lx.stat.isdir and is_raspbian
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue