Commit 9aaf1441 by Kevin Falcone

Add tags to steps in the role

This uses a combination of the new tags we decided on as well as
extending the internal tags so you can do just scripts:mysql or
scripts:mongodb rather than updating all the scripts.
parent 2f4d2b56
......@@ -25,12 +25,16 @@
pkg={{ item }}
state=present
with_items: ad_hoc_reporting_debian_pkgs
tags:
- install:system-requirements
- name: install python packages
pip: >
name="{{ item }}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
with_items: ad_hoc_reporting_pip_pkgs
tags:
- install:app-requirements
- name: create directories
file: >
......@@ -43,6 +47,7 @@
- /edx/bin
tags:
- scripts
- install:base
#These templates rely on there being a global
# read_only mysql user, you must override the default
......@@ -57,6 +62,8 @@
when: COMMON_MYSQL_READ_ONLY_PASS is defined and item.depends_on
tags:
- scripts
- scripts:mysql
- install:code
with_items:
- db_host: "{{ EDXAPP_MYSQL_REPLICA_HOST }}"
db_name: "{{ EDXAPP_MYSQL_DB_NAME }}"
......@@ -108,4 +115,6 @@
script_name: forum-mongo.sh
when: COMMON_MONGO_READ_ONLY_PASS is defined
tags:
- scripts
\ No newline at end of file
- scripts
- scripts:mongo
- install:code
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment