Files
ansible-role-common/tasks/main.yml
Daniel A. Maierhofer cb190efd2c Fix for voidlinux
2018-03-17 17:28:06 +01:00

51 lines
1.1 KiB
YAML

---
- include_tasks: resolvconf.yml
when: common_resolvconf
tags: ['common', 'resolvconf']
- include_tasks: hostname.yml
when: common_hostname
tags: ['common', 'hostname']
- include_tasks: apt.yml
when: common_apt
tags: ['common', 'apt']
- include_tasks: locales.yml
when: common_locales
tags: ['common', 'locales']
- name: set vim as default editor
alternatives: name=editor path=/usr/bin/vim.basic
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
tags: common
- name: copy some custom script
copy: dest="{{ item.dest }}" src="{{ item.src }}" owner=root group=root mode=0755
with_items: "{{ common_scripts }}"
tags: common
- include_tasks: mailer.yml
when: common_mailer
tags: ['common', 'mailer']
- include_tasks: ntp.yml
when: common_ntp
tags: ['common', 'ntp']
- include_tasks: openssh.yml
when: common_openssh
tags: ['common', 'openssh']
- include_tasks: rsyslog.yml
when: common_rsyslog
tags: ['common', 'rsyslog']
- include_tasks: rcfiles.yml
when: common_rcfiles
tags: ['common', 'rcfiles']
- include_tasks: tty.yml
when: common_tty
tags: ['common', 'tty']