name fix
This commit is contained in:
parent
7dd7966eec
commit
a2fc488f5f
@ -1,5 +1,5 @@
|
||||
- name: Webmin setup
|
||||
hosts: tor-nas.dedyn.io
|
||||
hosts: all
|
||||
tasks:
|
||||
|
||||
- name: Add webmin Apt signing key
|
||||
@ -83,7 +83,7 @@
|
||||
group: root
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK"
|
||||
block: |
|
||||
grep ^tor-nasadm: /etc/shadow >/etc/webmin/miniserv.users
|
||||
grep ^{{ ansible_facts['hostname'] }}adm: /etc/shadow >/etc/webmin/miniserv.users
|
||||
sed -i "s/^{{ ansible_facts['hostname'] }}adm/root/" /etc/webmin/miniserv.users
|
||||
echo done >/etc/webmin/rootpwfromadm.sh.done
|
||||
backup: yes
|
||||
|
Loading…
Reference in New Issue
Block a user