dotfiles/roles/common/tasks/hushlogin.yml

13 lines
192 B
YAML

---
- name: hushlogin | exists?
stat:
path: ~/.hushlogin
register: hush
- name: hushlogin | create
when: hush.stat.exists == false
file:
path: ~/.hushlogin
state: touch