From 1003aab09b556f82d3df8783f43a39fe3dccdf11 Mon Sep 17 00:00:00 2001 From: aeivanov Date: Wed, 27 Mar 2024 16:46:14 +0000 Subject: [PATCH] ansible-2 v3 --- .gitignore | 1 + packer/files/key.json.example | 8 ++++++++ packer/variables.json.example | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 packer/files/key.json.example diff --git a/.gitignore b/.gitignore index c044274..5748685 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ packer/variables.json packer/files/key.json +packer/key.json *.tfstate *.tfstate.*.backup *.tfstate.backup diff --git a/packer/files/key.json.example b/packer/files/key.json.example new file mode 100644 index 0000000..d426793 --- /dev/null +++ b/packer/files/key.json.example @@ -0,0 +1,8 @@ +{ + "id": "**********1*********", + "service_account_id": "*********j**********", + "created_at": "2023-12-07T20:04:07.729402726Z", + "key_algorithm": "RSA_2048", + "public_key": "-----BEGIN PUBLIC KEY-----\n***************************************\n-----END PUBLIC KEY-----\n", + "private_key": "**********************************************************************************************" +} diff --git a/packer/variables.json.example b/packer/variables.json.example index 0593fe1..b7f4c11 100644 --- a/packer/variables.json.example +++ b/packer/variables.json.example @@ -1,5 +1,5 @@ { - "key": "key.json", + "key": "packer/files/key.json.example", "fid": "abcde", "image": "ubuntu-1604-lts" }