Commit Graph
100 Commits
Author SHA1 Message Date
Luke Murphy eeada7a2a0 Fix volume creation through new config 2020-04-14 15:39:43 +02:00
Luke Murphy 5cdb6bbf53 Fix templates root 2020-04-14 15:25:48 +02:00
Luke Murphy d0f78cd37d Bad idea since things are getting leaked 2020-04-14 15:23:03 +02:00
Luke Murphy db69b43535 Forgot to default out the vault vars 2020-04-14 15:18:41 +02:00
Luke Murphy c936d635de Use machine host 2020-04-14 15:10:30 +02:00
Luke Murphy f8e0e01afd Attempt a new variables arrangement strategy 2020-04-14 15:06:37 +02:00
Luke Murphy 48a7781423 WIP breaking change to show vars 2020-04-14 14:54:38 +02:00
Luke Murphy 7144951661 Debug vars once more 2020-04-14 14:52:12 +02:00
Luke Murphy 076334ae23 Drop register and use vars only
Ansible strikes again
- https://github.com/ansible/ansible/issues/21088
- https://github.com/ansible/ansible/issues/36024
2020-04-14 14:36:20 +02:00
Luke Murphy 995f06d055 Use named inclusion 2020-04-14 14:30:50 +02:00
Luke Murphy 3ffa51b00e Revert "Try import_vars"
This reverts commit c5ad341f31.

"import_vars" doesnt exist.
2020-04-14 14:29:37 +02:00
Luke Murphy c5ad341f31 Try import_vars 2020-04-14 14:24:29 +02:00
Luke Murphy ff3ecb1855 Stagger creation of dictionaries 2020-04-14 14:18:37 +02:00
Luke Murphy 8bfff645e8 Try to use the register trick here too 2020-04-14 14:09:22 +02:00
Luke Murphy ae7740fce4 Access under hostvars 2020-04-14 14:00:14 +02:00
Luke Murphy 313b18faf3 Add vars debug too 2020-04-14 13:58:46 +02:00
Luke Murphy 914243fd83 Using sub-key already 2020-04-14 13:57:44 +02:00
Luke Murphy dea210e653 Implement standard debugging technique 2020-04-14 13:53:32 +02:00
Luke Murphy 651c2a2888 WIP config vars debugging 2020-04-14 13:50:01 +02:00
Luke Murphy 28bb95e149 Remove name since it went away 2020-04-14 13:47:26 +02:00
Luke Murphy 5e9cc84e8b Move to dictionary vars strategy 2020-04-14 13:44:09 +02:00
Luke Murphy 618ae495b2 WIP debugging config vars 2020-04-14 13:24:53 +02:00
Luke Murphy b6fc6f2e02 Don't log passwords 2020-04-14 13:22:38 +02:00
Luke Murphy 98f0e90545 Stop debugging and get var access right 2020-04-14 13:21:14 +02:00
Luke Murphy 2fc1bd49b7 WIP debugging the vault loading 2020-04-14 13:20:01 +02:00
Luke Murphy ed93cb7df2 Load vault vars into vault dict 2020-04-14 13:14:09 +02:00
Luke Murphy 22e15e4b50 Adapt to more scoped config 2020-04-14 13:02:16 +02:00
Luke Murphy ddaa516e38 Add hooks 2020-04-14 12:34:09 +02:00
Luke Murphy 52f4b906b0 Use basename to get the file 2020-04-14 11:42:29 +02:00
Luke Murphy 66f788994c Reset verboseness, too noisy 2020-04-14 11:41:52 +02:00
Luke Murphy 5452095123 Fix paths 2020-04-14 11:39:56 +02:00
Luke Murphy 6a23c42a7e Allow to pass nginx.d files 2020-04-14 11:35:45 +02:00
Luke Murphy c099827d88 Group plays to hooks 2020-04-14 11:30:40 +02:00
Luke Murphy 0079925738 Use defined syntax and make sure to create directories 2020-04-14 11:23:30 +02:00
Luke Murphy 7c3802fa2c Only run if {{ db }} is defined 2020-04-14 11:16:06 +02:00
Luke Murphy 584360421b Drop debug, names and use with_items for db tasks 2020-04-14 11:13:06 +02:00
Luke Murphy 878b1df3b4 Include volume mounts in pre-deploy 2020-04-14 11:07:24 +02:00
Luke Murphy b59b01dbc6 Remove role for now 2020-04-14 10:58:13 +02:00
Luke Murphy 8c98e5c3b8 Don't defaultt to root 2020-04-13 20:22:57 +02:00
Luke Murphy 8b7e6a30f8 Push internal loading back to prepare step 2020-04-13 20:21:07 +02:00
Luke Murphy 91763f13a0 Be more careful about loading 2020-04-13 20:19:14 +02:00
Luke Murphy 95e70fdfdd Try to use the with_items include syntax correctly again 2020-04-13 20:06:36 +02:00
Luke Murphy 5bf47708a0 Add this additional check 2020-04-13 19:55:40 +02:00
Luke Murphy 28d8f8efd8 OK, just show me that one for now 2020-04-13 19:54:40 +02:00
Luke Murphy 7c7f52cb51 Use proper with_items and include syntax 2020-04-13 19:52:52 +02:00
Luke Murphy f1cefadfd5 Conditionally look up the vault directory 2020-04-13 19:47:47 +02:00
Luke Murphy fef4814a15 Don't log that 2020-04-13 19:18:29 +02:00
Luke Murphy ff38d34c60 Always run https 2020-04-13 19:17:22 +02:00
Luke Murphy de2fa75cf9 Add missing prepare include 2020-04-13 19:07:28 +02:00
Luke Murphy b856175224 Set https and allow to override 2020-04-13 19:04:32 +02:00
Luke Murphy ed6b70422e Add debug var check 2020-04-13 19:03:43 +02:00
Luke Murphy cd93366ebb Add post-delete back 2020-04-13 16:20:36 +02:00
Luke Murphy c2e07e650c Add in required tasks for post-delete 2020-04-13 16:19:26 +02:00
Luke Murphy c5b6384495 Fix typo 2020-04-13 16:17:11 +02:00
Luke Murphy 77909b5f73 Implement post-delete and add clarifying comment 2020-04-13 16:14:07 +02:00
Luke Murphy 73bfc21bac Merge those https tasks 2020-04-13 16:01:48 +02:00
Luke Murphy f7e6f005f1 Pass in list of databases 2020-04-13 15:57:35 +02:00
Luke Murphy a5b0cc42a5 Unbork the proxy tasks 2020-04-13 15:26:39 +02:00
Luke Murphy cbeb1c42f3 Fix access for db.type 2020-04-13 15:21:03 +02:00
Luke Murphy ceffb97230 Fiddle with database vars wiring 2020-04-13 15:19:06 +02:00
Luke Murphy 4d3d1641f6 Drop back to just vars 2020-04-13 15:08:53 +02:00
Luke Murphy 1734ee3634 Switch around debug statements 2020-04-13 15:06:18 +02:00
Luke Murphy 9e3e548c26 Fix typo 2020-04-13 15:04:25 +02:00
Luke Murphy ccaf036248 Take another pass at wiring up steps 2020-04-13 15:02:55 +02:00
Luke Murphy 010b3fa863 Ignore unknown files 2020-04-13 14:25:47 +02:00
Luke Murphy 9b75b3e068 Pass in missing var 2020-04-13 14:23:56 +02:00
Luke Murphy 2cfe5f0cde Load vars in that we control 2020-04-13 14:22:19 +02:00
Luke Murphy ed72e9630c Add ansible.cfg 2020-04-13 14:19:51 +02:00
Luke Murphy 02d94302da Fix env var 2020-04-13 14:14:11 +02:00
Luke Murphy 1276328ef1 Fix typo 2020-04-13 14:12:46 +02:00
Luke Murphy ebce024bad Apply quotes remove to all commands 2020-04-13 14:11:23 +02:00
Luke Murphy 09e8fc31a1 Remove quotes 2020-04-13 14:10:10 +02:00
Luke Murphy 886671c313 Fix vault file naming 2020-04-13 14:07:37 +02:00
Luke Murphy b04afd85fb Spit out environment for now 2020-04-13 14:04:38 +02:00
Luke Murphy 39272350c3 Add TODO and import config first 2020-04-13 13:57:12 +02:00
Luke Murphy c21de2b941 Clear the line 2020-04-13 13:53:19 +02:00
Luke Murphy d6e055822f Create preparatory folder 2020-04-13 13:52:34 +02:00
Luke Murphy 4061f5fd26 Don't show passwords 2020-04-13 13:47:50 +02:00
Luke Murphy 85316d7be4 Fix path and calm shellcheck down 2020-04-13 13:16:49 +02:00
Luke Murphy 092cae8516 Drop quotes and run update 2020-04-13 13:14:48 +02:00
Luke Murphy f39da692bf Drop the quietness 2020-04-13 13:13:37 +02:00
Luke Murphy 70d3ec94d2 Add sudo pass and trim up vault pass command 2020-04-13 13:11:43 +02:00
Luke Murphy e46a56fe3e Sum up with shorter docs 2020-04-13 13:00:14 +02:00
Luke Murphy e2f9de3fe0 Setup plays and tasks 2020-04-13 12:49:14 +02:00
Luke Murphy ded81dab45 Actually, we don't need python at all 2020-04-13 11:42:33 +02:00
Luke Murphy b3e2d08100 Add dependency validation 2020-04-13 10:30:26 +02:00
Luke Murphy 236705d1e3 Start to thread through arguments 2020-04-13 10:26:21 +02:00
Luke Murphy 714f18e8c0 Add ansible place holder files 2020-04-13 10:26:14 +02:00
Luke Murphy 83152487f1 Install ansible dependencies at the dependency hook 2020-04-13 10:25:44 +02:00
Luke Murphy 552597f3f1 Use better wording 2020-04-13 09:56:05 +02:00
Luke Murphy d3846c436a Wire up the bash -> python pass through 2020-04-13 09:52:26 +02:00
Luke Murphy 61445600d3 Taking note of brain dump 2020-04-13 09:40:15 +02:00
Luke Murphy ce44d9a261 Use better wording 2020-04-13 09:40:07 +02:00
Luke Murphy 935bfb8129 Add new deps and output them 2020-04-13 09:39:57 +02:00
Luke Murphy 1451558efa Uppercase APP like the rest 2020-04-13 09:26:01 +02:00
Luke Murphy cf70f57d7f Add pre-deploy/post-deploy place holders 2020-04-13 09:24:02 +02:00
Luke Murphy 93c16dfdc3 Fix typo 2020-04-13 09:21:47 +02:00
Luke Murphy 12c0d52e47 Format and add missing shellcheck exceptions 2020-04-13 09:21:36 +02:00
Luke Murphy 3c922ea8b4 Add capitalisation 2020-04-08 13:09:50 +02:00
Luke Murphy d3efc17cae Change wording of help 2020-04-08 12:22:49 +02:00