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_conf_tpl: ../files/mariadb_config.cnf
mysql_secure_installation: True mysql_secure_installation: True
roles: roles:
- mariadb - { role: mariadb, tags: "mariadb" }
- wkhtmltopdf - { role: wkhtmltopdf, tags: "wkhtmltopdf" }
- nodejs - { role: nodejs, tags: "nodejs" }
- psutil - { role: psutil, tags: "psutil" }
- name: setup bench and dev environment - name: setup bench and dev environment
hosts: localhost hosts: localhost

View File

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