95 lines
2.1 KiB
YAML
95 lines
2.1 KiB
YAML
---
|
|
- import_tasks: resolvconf.yml
|
|
when: common_resolvconf
|
|
tags: ['common', 'resolvconf']
|
|
|
|
- import_tasks: hostname.yml
|
|
when: common_hostname
|
|
tags: ['common', 'hostname']
|
|
|
|
- import_tasks: apt.yml
|
|
when: common_apt
|
|
tags: ['common', 'apt']
|
|
|
|
- import_tasks: xbps.yml
|
|
when: common_xbps
|
|
tags: ['common', 'xbps']
|
|
|
|
- import_tasks: cronie.yml
|
|
when: common_cronie and ansible_distribution != 'Debian' and ansible_distribution != 'Ubuntu'
|
|
tags: ['common', 'cronie']
|
|
|
|
- import_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
|
|
|
|
- import_tasks: mailer.yml
|
|
when: common_mailer
|
|
tags: ['common', 'mailer']
|
|
|
|
- import_tasks: ntp.yml
|
|
when: common_ntp
|
|
tags: ['common', 'ntp']
|
|
|
|
- import_tasks: openssh.yml
|
|
when: common_openssh
|
|
tags: ['common', 'openssh']
|
|
|
|
- import_tasks: rsyslog.yml
|
|
when: common_rsyslog
|
|
tags: ['common', 'rsyslog']
|
|
|
|
- import_tasks: rcfiles.yml
|
|
when: common_rcfiles
|
|
tags: ['common', 'rcfiles']
|
|
|
|
- import_tasks: tty.yml
|
|
when: common_tty
|
|
tags: ['common', 'tty']
|
|
|
|
- import_tasks: git.yml
|
|
when: common_git
|
|
tags: ['common', 'git']
|
|
|
|
- import_tasks: sysctl.yml
|
|
when: common_sysctl
|
|
tags: ['common', 'sysctl']
|
|
|
|
- import_tasks: logrotate.yml
|
|
when: common_logrotate
|
|
tags: ['common', 'logrotate']
|
|
|
|
- import_tasks: interfaces.yml
|
|
when: common_interfaces
|
|
tags: ['common', 'interfaces']
|
|
|
|
- import_tasks: iptables.yml
|
|
when: common_iptables and ansible_os_family == "Debian"
|
|
tags: ['common', 'iptables']
|
|
|
|
- import_tasks: iptables_void.yml
|
|
when: common_iptables and ansible_os_family != "Debian"
|
|
tags: ['common', 'iptables']
|
|
|
|
- import_tasks: snapper.yml
|
|
when: common_snapper
|
|
tags: ['common', 'snapper']
|
|
|
|
- import_tasks: smartd.yml
|
|
when: common_smartd
|
|
tags: ['common', 'smartd']
|
|
|
|
- import_tasks: zfs.yml
|
|
when: common_zfs
|
|
tags: ['common', 'zfs']
|