Commit Graph

121 Commits

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