Merge pull request #21 from Cadair/flags
Allow specifying which parts of the role run from playbooksdevelopment
commit
ac8d5a839d
@ -1,29 +1,36 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- include: tasks/setup/main.yml
|
- include: tasks/setup/main.yml
|
||||||
|
when: run_setup
|
||||||
|
|
||||||
- include: tasks/upgrade_postgres.yml
|
- include: tasks/upgrade_postgres.yml
|
||||||
tags:
|
tags:
|
||||||
- upgrade-postgres
|
- upgrade-postgres
|
||||||
|
when: run_upgrade_postgres
|
||||||
|
|
||||||
- include: tasks/start.yml
|
- include: tasks/start.yml
|
||||||
tags:
|
tags:
|
||||||
- start
|
- start
|
||||||
|
when: run_start
|
||||||
|
|
||||||
- include: tasks/register_user.yml
|
- include: tasks/register_user.yml
|
||||||
tags:
|
tags:
|
||||||
- register-user
|
- register-user
|
||||||
|
when: run_register_user
|
||||||
|
|
||||||
- include: tasks/import_sqlite_db.yml
|
- include: tasks/import_sqlite_db.yml
|
||||||
tags:
|
tags:
|
||||||
- import-sqlite-db
|
- import-sqlite-db
|
||||||
|
when: run_import_sqlite_db
|
||||||
|
|
||||||
- include: tasks/import_media_store.yml
|
- include: tasks/import_media_store.yml
|
||||||
tags:
|
tags:
|
||||||
- import-media-store
|
- import-media-store
|
||||||
|
when: run_import_media_store
|
||||||
|
|
||||||
- include: tasks/self_check/main.yml
|
- include: tasks/self_check/main.yml
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
become: false
|
become: false
|
||||||
tags:
|
tags:
|
||||||
- self-check
|
- self-check
|
||||||
|
when: run_self_check
|
||||||
|
Loading…
Reference in new issue