--- a/instance-worker.tf Tue Jun 18 05:45:16 2019 -0500
+++ b/instance-worker.tf Tue Jun 18 06:05:47 2019 -0500
@@ -97,6 +97,10 @@
cache_vars = "${sha1(local_file.cache_variables.content)}"
+ "null_resource.cache_ansible" provisioner "local-exec" {
command = "ansible-playbook -i ${path.module}/hosts.workers -b ansible/worker.yml --vault-password-file=secrets/ansible_vault_password.txt --extra-vars @${local_file.cache_variables.filename}"