Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove recover script, going to be a support file that we give to the… #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Tested with Vertica 7.x

##Optional parameters

- run_mode: One of Deploy, Stop, Install, Start, Logging, or Recover. The default is Deploy which will do Install, Configure, then Enable. 'Start' and 'Logging' can only be run after the database is created via [Monasca-schema](https://github.com/hpcloud-mon/ansible-monasca-schema). Recover can be used to bring the vertica cluster back up from a failed state.
- run_mode: One of Deploy, Stop, Install, Start or Logging. The default is Deploy which will do Install, Configure, then Enable. 'Start' and 'Logging' can only be run after the database is created via [Monasca-schema](https://github.com/hpcloud-mon/ansible-monasca-schema).
- vertica_database_name: Database name for the vertica database. Must be the same as in set in [Monasca-schema](https://github.com/hpcloud-mon/ansible-monasca-schema). Defaults to mon.
- vertica_license - Production license key to use when creating the database. By default the role will use the community license.
- vertica_use_apt: If True, vertica will be install from the apt repository. If False, it will be installed from the given local package. Default is False
Expand Down
3 changes: 0 additions & 3 deletions tasks/cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@

- name: Create the vertica_script_location
file: path={{vertica_script_location}} state=directory owner=root group=root mode=755

- name: Create recovery script
template: src=vertica_recovery.j2 dest={{vertica_script_location}}/vertica_recovery mode=740
3 changes: 0 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,3 @@

- include: configure_logrotate.yml
when: run_mode == 'Logging'

- include: recover.yml
when: run_mode == 'Recover'
2 changes: 0 additions & 2 deletions tasks/recover.yml

This file was deleted.

48 changes: 0 additions & 48 deletions templates/vertica_recovery.j2

This file was deleted.