Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f96d80
commit 8fcdbfb
Showing
33 changed files
with
96 additions
and
520 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
$ANSIBLE_VAULT;1.1;AES256 | ||
62363730383163626534366162623532373764613239386263613461353165636430616535633037 | ||
6138653961626333353130316261366238356266386532620a316632333232386134353763333333 | ||
65323961663131653363353362343937383164663235316161623639303938306464353634653062 | ||
3966616630323839330a633237666537383237326338373662316361373636396364323666616134 | ||
66376632373063656266653963613164663164323364633539623662366239626632383165323437 | ||
63623337373233376263353964343630643864663439653334306136653237373037376436326138 | ||
63353362613564356633333532653736393338396434633035373132376264623933653335653032 | ||
37616430646333373131613933383030383830656336306232303464343037656131623637613735 | ||
38626266653134356536386531323531333437623764323334653138653034643665643764643734 | ||
39303432393062613131333064353532336132333734636562313334353662356331643861386164 | ||
64613237386230663932623739326463313963353462366461613663303334343430306363356562 | ||
63613833376238643332396531613435323839383563346563376438333139343365623235313936 | ||
31373764326131393264373437396563373662333563626133316662646239353935396663306535 | ||
30356365353531633134653439333433343665633964616264356263373733313130646331316461 | ||
31633238373534626439356661653265666633623636356234323361636164346235313764363163 | ||
65336133613566386438393934613765363261393830613934343338636335656338353966373331 | ||
37396236343833363764643032666235346264333664333130626133353565316538303331346135 | ||
64643834616533316564373939383965353035323130346662663561353263353337333135636631 | ||
39333139633563386339616463393438373363363264373161356633623237643663383239643230 | ||
64613166353430393134303366646239316631363166383462626234366537393861323663353263 | ||
65663862663831316238346263376337663239643966626238383463666265633163303133356336 | ||
36653434373564386431336562386631393161376339346236336563313535346632636135613237 | ||
32303433323762616535623062373038633264613965346638383064653761366338306239373337 | ||
31653830306338623136386263333637343230353937393330356535346362356331653733343230 | ||
30653162366561613437373238346665633864663137623937393935383633336438616165646335 | ||
32666432663265303139353136613364346166666634316130316131386332343032373065313962 | ||
64653731666633616432663962636561353762343466323238633139326537316532623962386562 | ||
37323034626561663166633561356466663437393331333932616634366132643264663662303637 | ||
33623030333566613434393565643739633933366131303738346239333961613739343065316163 | ||
61366464343133373433633462386236663236623133643564373836333934316665393532643633 | ||
37626634306232373937643633323839393431353132313537633732336337656332656531313130 | ||
63396635633530383735323836313033313631613434613635343139636137396261393363613532 | ||
39363761393366663434663436323763656131386136623262373663643335663165376661343362 | ||
33393035343835363066663535356265623664353839386361653635343935363837303435616466 | ||
66616337666632616266666434393632643963383833623563393436383366303065346264633536 | ||
64653433333932323063386231383835653662653933623135616631646630353439636231303263 | ||
6463 | ||
66653066366134343337313261373737633731653266376633643666636131616165346234313965 | ||
3432396137623366633661386133366165306632303437630a666666376330326530353161323135 | ||
38356366376631343030313563613466386335373466303230616164333132346165343331666332 | ||
3538343231643934330a623931363739653138623261643662373630376435383239383461336632 | ||
32393939386230396530316465633738393764393535623463386435376434646633353461373165 | ||
64316162376362393835633765666636333533636639306632656135306436643338363232653761 | ||
31633635636166616366646162656338376435373834356164373931386437653830356461663262 | ||
39616235616337626463323030313236323164646164323335353331396432663839383466346264 | ||
62376330653435643536303564336131396132616231663365363931616435656533383462616539 | ||
62333033306335653166633636623965653665636631626339353663353265366130643236396238 | ||
62623263656434613165653064343938303833653136346337666530333639363963393965346138 | ||
37633064393035333264643433343631633966616661643461666435653663626261343033633835 | ||
32383838346561336134396333356366393363353665316233626338363631343638393263356264 | ||
66653330663262386664383733663936316534313761613163333936393733313834623431316438 | ||
30346236626266633163386133663430363430383531353362313362326134356464316134616339 | ||
65353065336630613639343837646437363038636536323533333432653936346166323939643564 | ||
62343563326532383439396336343734613766393237336165383863333863396231353063376433 | ||
64366365366365343830356537323261623364646337333031633839386435323335623831636662 | ||
63333532393763363430353566373966316165633266343663313263633264656362313633643265 | ||
37303639303763373065323263646566663832303365356434306663336139306431333339353134 | ||
35616331646461313733643564633439343063313634396536386664383837366161306465613534 | ||
37366563646566313436376261643961396133643232323930623665646133363431366439623732 | ||
30623462333330373864313365666161363061366566633762313766326539626239663361316663 | ||
36376361303630333830613862356337373366383162643031383334366136393332626663646634 | ||
38393135356135646164643438313635653930363439323265633661383664373162386337636463 | ||
66646639353264336534313638333439306365313964313635333866313463613339353030396366 | ||
33316432303430363535623839613733353064643834636366373733393864653733653966396564 | ||
63353966623035393932613165393639646437396630663934616565373532373636616438623430 | ||
36353363373666633163353439373336323936623738366164636334336463643937633030353936 | ||
66346539616535373537363931396134636361353935393764363834323637333231316132313934 | ||
30626562623866333638356333363665393961613437386162646466616334303363346235356139 | ||
62313365646562306334626466366130316336376466343539373232353234626230653932336466 | ||
66616531316263383436623864656530393965316135363961353231303764616238393234396436 | ||
65373733313065313939333638653165336133313062373631326234313139323966363862326461 | ||
63626237366164356363343931366330346561373435383233363335396661626366386437376664 | ||
63373639336139303238363937346461636636333066643039366465353036333866643830663861 | ||
31363562306666633165386431386264623638333435373737396666373463663732 |
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 |
---|---|---|
@@ -1,31 +1,32 @@ | ||
$ANSIBLE_VAULT;1.1;AES256 | ||
33653834356331666336363533393436643533306532653232333131653565383836613165653533 | ||
3430313938306232353566323333356536646534663931320a623965656230643031363837653262 | ||
37346364373435353830343234323336313435643437666435636437653832393336393032666336 | ||
3365303035333164610a626236373266663036303932316164363338303165643939383035623235 | ||
39366666646532343161653637326437396132306363666561386662613763656234306233346437 | ||
33333363653933656236663562303236316236366338633463333530376433326164636335643039 | ||
37386462366536333737393339663538343562346234393562323462626638306262366366663139 | ||
39396235353237343839343066643032306561643735383163663262636639613035333336646338 | ||
64396537646366336461313436353665383661613436316331313563656462373032353339346162 | ||
38333739326233636461333063383838373830323165623933336531386633623036663738653835 | ||
33316539386135653832376239613133303330616434636231653764626234633866303363306135 | ||
35376337343834383261613362373461376330326461613063316231663633303562643134623962 | ||
35656261326662323665646164373433643036636336663238323836363938303831383164656336 | ||
32616435656333323962626436373866333462333239383737643063613139636136653764386665 | ||
31356165653536313730373864356235363064653866343835653037303030376534613562363362 | ||
36356165613162363364326138613335383530353364623038663136663637383331633133303736 | ||
64336236633234313934336331393666633630303439303938353865386134643335323632313864 | ||
38346331353635303533343639343637326662353864396636346136386266373864356663353536 | ||
35613233353032326636303939336235633233323536303866303261623765323735396564323866 | ||
37353562316666316635336639353535643564653137333964613061336433313264366661373732 | ||
37653164646634316339323134643139666266363636393033336261386539656332663763323032 | ||
32626234386335636362623663343638663766373836653939663139633065396433633738376137 | ||
30316335376231393231613263373966633231663738326263323236623435363130616639353763 | ||
36373233653061323130333531346136323336346563396433303964393361663764353431326633 | ||
30613761386530666365633365323636623264383064393666643362616333653833666638633362 | ||
38623136313439323165346565313230306330376336376665356334386166643461626466393937 | ||
30333961633366383032323730663562356433633934343930363734303831343265613066316466 | ||
38386333316262343631613266613665303234386237393032383066383935323631373163393966 | ||
35653766633336333061373434343866383136383831336139656363313630333831643237636566 | ||
3064633235393435663531313636316565303966656138386331 | ||
34316366653531386235663434346534633262343261343866323833303465383366333739323262 | ||
6130643966386361336539653639626431353461623831650a643839616361643830353238346663 | ||
35613663623764316534343236373234363662316563356163646431613532376138663636316233 | ||
6463373031303730640a643133393161393435666262653731363330326639343039636630396532 | ||
38653630326233323833626662363166313135343030353839643430653330303365333963336366 | ||
34626563386536613136353138323635373833343064613938323838653963646231323139373439 | ||
32653861623038623537343563663666646163393236303166633764376166373030373138303466 | ||
66343534633435663833633930326434623761623463366633393862333731626535353537363339 | ||
66333338333066343032316338633434313138366135336334353264643039303966353566366339 | ||
65656336643466346166643665313833666139363866633436373564393062333066656361353330 | ||
35383163353334636261656437323935383465636431633836656634376435356663323435343634 | ||
37376332353361623764343533653633393163633736656462363761666534663463356430613731 | ||
32346333346361313861663035376663353634346361346133643861336332643733636663663163 | ||
63383238306233643566626536333639353934326231353936366331326430313339306530636135 | ||
63366237633865663365356363363732336636343333316637626237396564326361323934656433 | ||
32666464346537313532643336623533313838386266636437303237303433646465393937653763 | ||
31353861633565646230306434633963633335323731393864343762343364366362643033623533 | ||
61396435353035626164363235313538393539333433313462643933653037663433623238366337 | ||
32616132386331363534316434316238613861663663363965663432393262613230623564343931 | ||
38323231373536383535386432333363343137383839643834343439613533313565643639303230 | ||
39663761363166393865373331386633303364653931633438353536633938303138316335326164 | ||
37313436316137653336336364383032323536336465323736626237663232663761363239323564 | ||
63373535336135303233346662633236653333356661363337363239343930303162336339656434 | ||
31353532633439666132616437363266303362366362633234643731643138613364303863343864 | ||
32653639326361316436373066356433643138303863353833303061303533353262613536316435 | ||
38663632633332366562633365626136373837366164353531306530396262646366323432613365 | ||
62653034366333613966366336383031636532323366656563326630393062663638323864396439 | ||
38396339366264666262353738663833383037333064306438323762663665343534643032383436 | ||
36613064303665343637326236333861643161656661666164326163303535383133326563646464 | ||
35336232656638373864656139646539636336623830613933653131343537663634616237613162 | ||
366364643765633361633034323133383766 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,12 @@ | ||
--- | ||
# Install the frontend dependencies | ||
|
||
- name: Remove global npm programs | ||
npm: | ||
name: "{{ item }}" | ||
global: yes | ||
state: absent | ||
with_items: | ||
- jspm | ||
- gulp | ||
remote_user: root | ||
|
||
- name: Install project dependencies with Node | ||
npm: | ||
path: "{{ project_home }}" | ||
production: no # we need the build tooling, for now | ||
|
||
- name: Build the frontend | ||
command: npm run build | ||
args: | ||
chdir: "{{ project_home }}" | ||
# - name: Build the frontend | ||
# command: npm run build | ||
# args: | ||
# chdir: "{{ project_home }}" |
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
--- | ||
|
||
- name: Configure the app secrets file | ||
template: src=secrets.py.j2 | ||
dest="{{ project_home }}/src/conf/settings/secrets.py" | ||
mode=0600 | ||
notify: | ||
- restart uwsgi | ||
- name: Ensure the local settings are removed | ||
file: | ||
path: "{{ project_home }}/src/langerak_gkv/conf/local.py" | ||
state: absent | ||
|
||
- name: Template out the .env file | ||
template: | ||
src: env.j2 | ||
dest: "{{ project_home }}/.env" | ||
mode: 0600 |
6 changes: 3 additions & 3 deletions
6
old_deployment/roles/django/templates/env.j2 → deployment/roles/django/templates/env.j2
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
SECRET_KEY="{{ secret_key }}" | ||
ALLOWED_HOSTS={{ allowed_hosts|join(',') }} | ||
DB_NAME={{ db_name }} | ||
DB_USER={{ db_user }} | ||
DB_PASSWORD={{ db_password }} | ||
DB_NAME={{ django_db.name }} | ||
DB_USER={{ django_db.user }} | ||
DB_PASSWORD={{ django_db.password }} | ||
|
||
DEFAULT_FROM_EMAIL = '{{ from_email }}' | ||
SENTRY_DSN = {{ raven_dsn }}' |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.