2
0
mirror of https://github.com/frappe/bench.git synced 2025-02-13 08:18:27 +00:00

add tags to roles

This commit is contained in:
Saurabh 2017-08-29 21:14:39 +05:30
parent f13dcbd958
commit a2e779ccb3
2 changed files with 13 additions and 13 deletions

View File

@ -16,10 +16,10 @@
mysql_conf_tpl: ../files/mariadb_config.cnf
mysql_secure_installation: True
roles:
- mariadb
- wkhtmltopdf
- nodejs
- psutil
- { role: mariadb, tags: "mariadb" }
- { role: wkhtmltopdf, tags: "wkhtmltopdf" }
- { role: nodejs, tags: "nodejs" }
- { role: psutil, tags: "psutil" }
- name: setup bench and dev environment
hosts: localhost

View File

@ -10,15 +10,15 @@
vars:
- nginx_conf_file: files/nginx.conf
roles:
- locale
- swap
- logwatch
- bash_screen_wall
- frappe_selinux
- dns_caching
- ntpd
- nginx
- fail2ban
- { role: locale, tags: "locale" }
- { role: swap, tags: "swap" }
- { role: logwatch, tags: "logwatch" }
- { role: bash_screen_wall, tags: "bash_screen_wall" }
- { role: frappe_selinux, tags: "frappe_selinux" }
- { role: dns_caching, tags: "dns_caching" }
- { role: ntpd, tags: "ntpd" }
- { role: nginx, tags: "nginx" }
- { role: fail2ban, tags: "fail2ban" }
tasks:
- name: Set hostname
hostname: name='{{ hostname }}'