From 710518f652eb249773fbcbd945736f4100d86fcc Mon Sep 17 00:00:00 2001
From: Monty Taylor <mordred@inaugust.com>
Date: Fri, 6 Oct 2017 12:50:44 -0500
Subject: [PATCH] Remove cloud-init when we set hostnames

We don't need it for any purpose after first-boot. Make it go away.

Change-Id: I7c2d974a2c301c4de2b8b80fde12b1ca7c941e2d
---
 playbooks/roles/set_hostname/tasks/main.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/playbooks/roles/set_hostname/tasks/main.yml b/playbooks/roles/set_hostname/tasks/main.yml
index e1add7d4cf..2117db394e 100644
--- a/playbooks/roles/set_hostname/tasks/main.yml
+++ b/playbooks/roles/set_hostname/tasks/main.yml
@@ -1,4 +1,9 @@
 ---
+- name: Remove cloud-init
+  package:
+    name: cloud-init
+    state: absent
+
 # Set hostname and /etc/hosts
 # Inspired by:
 # https://github.com/ansible/ansible/pull/8482)