Commit Graph

58 Commits

Author SHA1 Message Date
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
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
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
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