From 19628c30803796fb17a53b71316b0f003672bcc2 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sat, 18 Mar 2023 20:15:48 +0100 Subject: [PATCH] Remove custom ansible role (overwrite cloud-init datasource priority) --- ansible/roles/custom/tasks/main.yml | 6 ------ packer/config/common.json | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 ansible/roles/custom/tasks/main.yml diff --git a/ansible/roles/custom/tasks/main.yml b/ansible/roles/custom/tasks/main.yml deleted file mode 100644 index 80c8cd3..0000000 --- a/ansible/roles/custom/tasks/main.yml +++ /dev/null @@ -1,6 +0,0 @@ -- name: Override cloud-init datasource list - ansible.builtin.copy: - dest: /etc/cloud/cloud.cfg.d/90_dpkg.cfg - content: | - # To update this file, run dpkg-reconfigure cloud-init - datasource_list: [ VMware, None ] diff --git a/packer/config/common.json b/packer/config/common.json index bdb952f..507d7f9 100644 --- a/packer/config/common.json +++ b/packer/config/common.json @@ -9,7 +9,7 @@ "http_proxy": "", "https_proxy": "", "no_proxy": "", - "node_custom_roles_post": "custom", + "node_custom_roles_post": "", "node_custom_roles_pre": "", "pause_image": "registry.k8s.io/pause:3.9", "pip_conf_file": "",