ansible-config/roles/common/tasks/user-sanity.yml
Alexander Dietrich 17468493cc Update common role
- Add secure-secure-shell task
- Add unattended-upgrades task
- Change package installation tasks
- Remove website tasks from generic services group
2017-02-05 13:45:33 +01:00

26 lines
478 B
YAML

---
- name: purge vim-tiny
apt:
name: vim-tiny
state: absent
purge: yes
- name: install user sanity packages
apt:
name: "{{ item }}"
state: present
with_items: "{{ user_sanity_packages }}"
- name: check for /etc/screenrc
stat: path=/etc/screenrc
register: f
- name: disable screen startup message
lineinfile:
dest: /etc/screenrc
regexp: '^#(startup_message off)$'
line: '\1'
backrefs: yes
backup: yes
when: f.stat.exists