Commit Graph

133 Commits

Author SHA1 Message Date
Luke Murphy
119dfabff4
Drop out of messy debug mode 2020-04-15 12:15:51 +02:00
Luke Murphy
a3987e3acb
Shuffle order of vault loading 2020-04-15 12:04:53 +02:00
Luke Murphy
7496122f32
WIP more debugging of vars 2020-04-15 12:02:17 +02:00
Luke Murphy
5231a3a5a0
WIP debug mode on invocation 2020-04-15 11:59:25 +02:00
Luke Murphy
dc1a032021
Don't use jinja with conditionals 2020-04-15 11:56:49 +02:00
Luke Murphy
a0ee2f060e
Allow internal debugging 2020-04-15 11:55:38 +02:00
Luke Murphy
ea8fbecb15
Set the python interpreter explicitly 2020-04-15 11:42:36 +02:00
Luke Murphy
0430f8512a
Account for modes in volumes 2020-04-15 11:24:47 +02:00
Luke Murphy
6638d1ab38
Drop post-deploy hooks before nginx.d tasks 2020-04-15 10:52:33 +02:00
Luke Murphy
ef1d24178a
Drop pre-deploy hooks back before templating 2020-04-15 10:52:01 +02:00
Luke Murphy
22619ee4f9
Use type for volumes 2020-04-14 15:51:39 +02:00
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