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 @@ ...@@ -25,12 +25,16 @@
pkg={{ item }} pkg={{ item }}
state=present state=present
with_items: ad_hoc_reporting_debian_pkgs with_items: ad_hoc_reporting_debian_pkgs
tags:
- install:system-requirements
- name: install python packages - name: install python packages
pip: > pip: >
name="{{ item }}" state=present name="{{ item }}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}" extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
with_items: ad_hoc_reporting_pip_pkgs with_items: ad_hoc_reporting_pip_pkgs
tags:
- install:app-requirements
- name: create directories - name: create directories
file: > file: >
...@@ -43,6 +47,7 @@ ...@@ -43,6 +47,7 @@
- /edx/bin - /edx/bin
tags: tags:
- scripts - scripts
- install:base
#These templates rely on there being a global #These templates rely on there being a global
# read_only mysql user, you must override the default # read_only mysql user, you must override the default
...@@ -57,6 +62,8 @@ ...@@ -57,6 +62,8 @@
when: COMMON_MYSQL_READ_ONLY_PASS is defined and item.depends_on when: COMMON_MYSQL_READ_ONLY_PASS is defined and item.depends_on
tags: tags:
- scripts - scripts
- scripts:mysql
- install:code
with_items: with_items:
- db_host: "{{ EDXAPP_MYSQL_REPLICA_HOST }}" - db_host: "{{ EDXAPP_MYSQL_REPLICA_HOST }}"
db_name: "{{ EDXAPP_MYSQL_DB_NAME }}" db_name: "{{ EDXAPP_MYSQL_DB_NAME }}"
...@@ -108,4 +115,6 @@ ...@@ -108,4 +115,6 @@
script_name: forum-mongo.sh script_name: forum-mongo.sh
when: COMMON_MONGO_READ_ONLY_PASS is defined when: COMMON_MONGO_READ_ONLY_PASS is defined
tags: tags:
- scripts - scripts
\ No newline at end of file - 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