Don't restart cloud-init when disabling it

Change-Id: I6e3ebdfc739d155c0953d43c878247fc590901c6
Story: 2001697
This commit is contained in:
Mark Goddard 2018-03-20 10:42:19 +00:00
parent 1e019fc1f8
commit 71f493db77
3 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,5 @@
---
# Cloud-init s searches for network configuration in order of
# Cloud-init searches for network configuration in order of
# increasing precedence; each item overriding the previous.
# In some cases cloud-init reconfigure automatically network interface
# and cause some issues in network configuration

View File

@ -1,7 +1,6 @@
---
- name: restart cloud-init daemon
- name: reload systemd daemon
systemd:
name: cloud-init
state: restarted
daemon_reload: yes
become: True

View File

@ -5,5 +5,5 @@
state: touch
mode: "u=rw,g=r,o=r"
notify:
- restart cloud-init daemon
- reload systemd daemon
become: True