@@ -1,18 +1,27 @@
- include: base.yml
+ tags: [base]
- include: ssl.yml
+ tags: [ssl]
when: ssl_certs or ssl_certs_auto
- include: dotfiles.yml
when: with_dotfiles
- include: dns.yml
+ tags: [dns]
- include: firewall.yml
+ tags: [firewall]
when: with_firewall
- include: ovh.yml
when: with_ovh
- include: security.yml
+ tags: [security]
- include: smtp.yml
+ tags: [smtp]
when: with_postfix or with_mail_aliases
- include: dkim.yml
+ tags: [dkim]
when: with_opendkim
- include: ssh.yml
+ tags: [ssh]
- include: smartd.yml
+ tags: [smartd]
when: with_smartd
@@ -79,6 +79,8 @@
- 'systemd'
- 'zabbix-agentd'
when: with_logcheck
+ tags:
+ - 'logcheck'
- name: 'Update logcheck cron job'
template:
@@ -1,4 +1,6 @@
- include: mysql.yml
+ tags: [sql,mysql]
when: with_mysql or with_mariadb
- include: postgresql.yml
+ tags: [sql,postgresql]
when: with_postgresql
- include: 'common.yml'
+ tags: [ftp]
when: with_ftp
- include: 'pure-ftpd.yml'
+ tags: [ftp,pure-ftpd]
@@ -1,2 +1,4 @@
- include: 'xen.yml'
+ tags: [hypervisor,xen]
- include: 'ganeti.yml'
+ tags: [hypervisor,ganeti]
@@ -1,6 +1,9 @@
- include: munin.yml
+ tags: [monitoring,munin]
when: with_munin or with_munin_node
- include: mon.yml
+ tags: [monitoring,mon]
when: with_mon
- include: zabbix.yml
+ tags: [monitoring,zabbix]
when: with_zabbix_agent
- include: apache2.yml
+ tags: [web,apache2]
when: with_apache2
- include: nginx.yml
+ tags: [web,nginx]
when: with_nginx
- include: php.yml
+ tags: [web,php]
when: with_php