-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
56 changed files
with
86,892 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
# tasks file for roles/server-database-bootstrap | ||
|
||
- name: gather some facts on the public IP address attached to the couchbase load balancer | ||
azure_rm_publicipaddress_facts: | ||
resource_group: "{{ resource_group }}" | ||
name: "{{ vmss_syncgateway.name }}-lb-pip" | ||
register: sg_ip_address | ||
when: bootstrap_database_create_schema == true | ||
|
||
- name: gather some facts on the couchbase load balancer | ||
set_fact: | ||
sg_server: "https://{{ sg_ip_address.ansible_facts.azure_publicipaddresses[0].properties.ipAddress }}:{{ sync_gateway.admin_port }}" | ||
when: bootstrap_database_create_schema == true | ||
|
||
- name: wait for a minute to couchbase catchup with itself | ||
pause: | ||
minutes: 1 | ||
when: bootstrap_database_create_schema == true | ||
|
||
- name: users | ||
command: "curl -k {{ sg_server }}{{ couchbase_bootstrap.auth }}/{{ couchbase.bucket }}/_user/public -X PUT -H {{ couchbase_bootstrap.ctaj }} -T files/initialisation/users/{{ item }}" | ||
with_items: | ||
- "publicuser.json" | ||
args: | ||
warn: no | ||
when: bootstrap_database_create_schema == true | ||
|
||
- name: corporates | ||
command: "curl -k {{ sg_server }}{{ couchbase_bootstrap.auth }}/{{ couchbase.bucket }}/{{ item }} -X PUT -H {{ couchbase_bootstrap.ctaj }} -T files/initialisation/corporates/{{ item }}" | ||
with_items: | ||
- "Corporate-WSBKR" | ||
args: | ||
warn: no | ||
when: bootstrap_database_create_schema == true | ||
|
||
- name: reference | ||
command: "curl -k {{ sg_server }}{{ couchbase_bootstrap.auth }}/{{ couchbase.bucket }}/{{ item }} -X PUT -H {{ couchbase_bootstrap.ctaj }} -T files/initialisation/reference/{{ item }}" | ||
with_items: | ||
- "CDBrokerRemunerationAndDeductionsSynonyms" | ||
- "CDEndorsementSynonyms" | ||
- "CDFiscalAndRegulatorySynonyms" | ||
- "CDInformationSynonyms" | ||
- "CDOtherSynonyms" | ||
- "CDRiskDetailsSynonyms" | ||
- "CDSectionSynonyms" | ||
- "CDSecurityDetailsSynonyms" | ||
- "CDSubscriptionAgreementSynonyms" | ||
- "MRCScanSuggestions" | ||
- "sdccodes" | ||
args: | ||
warn: no | ||
when: bootstrap_database_create_schema == true |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Role Name | ||
========= | ||
|
||
A brief description of the role goes here. | ||
|
||
Requirements | ||
------------ | ||
|
||
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. | ||
|
||
Role Variables | ||
-------------- | ||
|
||
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. | ||
|
||
Dependencies | ||
------------ | ||
|
||
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. | ||
|
||
Example Playbook | ||
---------------- | ||
|
||
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: | ||
|
||
- hosts: servers | ||
roles: | ||
- { role: username.rolename, x: 42 } | ||
|
||
License | ||
------- | ||
|
||
BSD | ||
|
||
Author Information | ||
------------------ | ||
|
||
An optional section for the role authors to include contact information, or a website (HTML is not allowed). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
# defaults file for roles/server-database-bootstrap |
45 changes: 45 additions & 0 deletions
45
roles/server-database-bootstrap-user/files/initialisation/corporates/Corporate-WSBKR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"_attachments": {}, | ||
"_id": "Corporate-WSBKR", | ||
"admins": [ | ||
"[email protected]" | ||
], | ||
"channelPrefix": "wsbkr", | ||
"channels": [ | ||
"shared" | ||
], | ||
"companyId": "WSBKR", | ||
"createdAt": "2019-05-23 10:18:00", | ||
"members": [ | ||
{ | ||
"currentState": "", | ||
"email": "[email protected]", | ||
"name": "Jody Wilkinson", | ||
"teams": [ | ||
"ALL" | ||
], | ||
"uniqueID": "MU8A0F9072-3EAC-4864-AFEE-7668BE563060" | ||
}, | ||
{ | ||
"currentState": "", | ||
"email": "[email protected]", | ||
"name": "Russ McKendrick", | ||
"teams": [ | ||
"ALL" | ||
], | ||
"uniqueID": "MU8A0F9072-3EAC-4864-AFEE-7668BE563061" | ||
} | ||
], | ||
"name": "Whitespace Broking", | ||
"role": "broker", | ||
"stamps": [], | ||
"teams": [ | ||
{ | ||
"channel": "wsbkr_ALL", | ||
"name": "All Risks", | ||
"teamId": "ALL" | ||
} | ||
], | ||
"type": "CorporateDetail", | ||
"updatedAt": "2019-05-23 10:18:00" | ||
} |
5 changes: 5 additions & 0 deletions
5
roles/server-database-bootstrap-user/files/initialisation/corporates/doone.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
if test "$1" == "" ; then | ||
echo doone.sh docID | ||
exit | ||
fi | ||
curl -k $AURL/$BUCKET/$1 -X PUT -H $CTAJ -T $1 |
2 changes: 2 additions & 0 deletions
2
roles/server-database-bootstrap-user/files/initialisation/corporates/upload.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sh doone.sh Corporate-WSBKR | ||
|
13 changes: 13 additions & 0 deletions
13
...e-bootstrap-user/files/initialisation/reference/CDBrokerRemunerationAndDeductionsSynonyms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"Commission": [ | ||
"AON Carrier Commission" | ||
], | ||
"TotalBrokerage": [ | ||
"Brokerage" | ||
], | ||
"channels": [ | ||
"shared" | ||
], | ||
"createdAt": "2017-02-24 16:43:00", | ||
"type": "ContractDrafterSetting" | ||
} |
21 changes: 21 additions & 0 deletions
21
roles/server-database-bootstrap-user/files/initialisation/reference/CDEndorsementSynonyms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"EndorsementReference": [ | ||
"Broker Endorsement Reference" | ||
], | ||
"EndorsementName": [ | ||
"Broker Endorsement Name" | ||
], | ||
"EndorsementEffectiveDate": [ | ||
"Effective Date", | ||
"Broker Endorsement Effective Date", | ||
"Broker Effective Date" | ||
], | ||
"channels": [ | ||
"shared" | ||
], | ||
"EndorsementNumber": [ | ||
"Broker Endorsement Number" | ||
], | ||
"type": "ContractDrafterSetting", | ||
"createdAt": "2017-10-24 14:36:00" | ||
} |
31 changes: 31 additions & 0 deletions
31
...rver-database-bootstrap-user/files/initialisation/reference/CDFiscalAndRegulatorySynonyms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"SurplusLinesBroker": [ | ||
"Surplus line broker" | ||
], | ||
"CountryOfOrigin": [], | ||
"type": "ContractDrafterSetting", | ||
"AllocationOfPremiumToCoding": [ | ||
"Allocation Of Premium Coding" | ||
], | ||
"channels": [ | ||
"shared" | ||
], | ||
"AllocationOfPremiumToYearsOfAccount": [ | ||
"Allocation of premium to year", | ||
"Allocation of Premium to year of Account" | ||
], | ||
"TaxPayableByInsurers": [ | ||
"Tax Payable by Underwriter(s)", | ||
"TAX PAYABLE BY REINSURER(S)", | ||
"Taxes Payable by Insurers(s)", | ||
"Taxes Payable by Insurer(s)", | ||
"TAXES PAYABLE BY REINSURERS" | ||
], | ||
"IsTheBusinessSubjectToDistanceMarketingDirective": [ | ||
"Is Business Subject To Distance Marketing Directive Rules" | ||
], | ||
"USClassification": [ | ||
"US Classification:(for Lloyd’s use only)" | ||
], | ||
"createdAt": "2017-02-24 12:37:00" | ||
} |
7 changes: 7 additions & 0 deletions
7
roles/server-database-bootstrap-user/files/initialisation/reference/CDInformationSynonyms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"channels": [ | ||
"shared" | ||
], | ||
"type": "ContractDrafterSetting", | ||
"createdAt": "2017-02-24 16:43:00" | ||
} |
60 changes: 60 additions & 0 deletions
60
roles/server-database-bootstrap-user/files/initialisation/reference/CDOtherSynonyms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"NonMRCHeading": [ | ||
"Schedule", | ||
"Professional Indemnity Design & Construct", | ||
"Contract Administration and Advisory Sections", | ||
"NEW YORK SURPLUS LINES NOTICE", | ||
"EURO CONTRACT CONTINUITY CLAUSE", | ||
"SANCTION LIMITATION AND EXCLUSION CLAUSE", | ||
"CLAIMS CONTROL CLAUSE – 1/1/97 – NMA2738", | ||
"NOTICE TO THE INSURED", | ||
"OKLAHOMA SURPLUS LINES NOTICE", | ||
"NB Underlying Policy(ies) limits", | ||
"EXCESS ERRORS AND OMISSIONS LIABILITY INSURANCE", | ||
"BESPOKE OR AMENDED WORDING AND CLAUSES WORDING SCHEDULE(S) AND/OR DECLARATIONS AND ANY OTHER ATTACHMENTS AS APPROPRIATE", | ||
"CONTINGENT EXCESS EMPLOYERS LIABILITY", | ||
"CONTINGENT EXCESS MOTOR LIABILITY", | ||
"Business", | ||
"Indemnity Limits", | ||
"policy number", | ||
"CYBER ATTACK EXCLUSION CLAUSE", | ||
"NOTICE OF CLAIM", | ||
"RISK LOCATION", | ||
"Premium Deductions", | ||
"Premium Deduction", | ||
"All other terms and conditions remain unchanged", | ||
"Whitespace Platform Data", | ||
"Premium Annual and Pro Rata", | ||
"INSURING CLAUSE", | ||
"follow form wording", | ||
"SCHEDULE OF UNDERLYING AMOUNTS", | ||
"NON-PROPORTIONAL FACULTATIVE REINSURANCE", | ||
"Safeguard", | ||
"Contract Changes", | ||
"Comtech Policy", | ||
"Comtech Policy Insurance for technology and telecommunication companies", | ||
"PREMIUM PAYMENT CLAUSE", | ||
"PRIOR ACTS EXCLUSION", | ||
"WORDING AMENDMENTS", | ||
"CLAIMS COOPERATION CLAUSE – LA POSITIVA SEGUROS", | ||
"PROPORTIONAL FACULTATIVE REINSURANCE CLAUSE (LM1)", | ||
"WAR AND TERRORISM EXCLUSION", | ||
"NUCLEAR/CHEMICAL/BIOLOGICAL TERRORISM EXCLUSION", | ||
"MEDICAL EXPENSES EXTENSION", | ||
"PREMIUM COLLECTION CLAUSE", | ||
"LOW CLAIMS BONUS", | ||
"Total of Underlying Limits of Liability" | ||
], | ||
"channels": [ | ||
"shared" | ||
], | ||
"ImplyContractType": [ | ||
"Marine", | ||
"Indemnity", | ||
"Kidnap", | ||
"Cyber", | ||
"Terrorism" | ||
], | ||
"type": "ContractDrafterSetting", | ||
"createdAt": "2017-02-24 16:43:00" | ||
} |
Oops, something went wrong.