Skip to content

Commit

Permalink
Merge pull request #1440 from outscale-hmi/updateCloudInitInstall
Browse files Browse the repository at this point in the history
update the way to install cloud-init
  • Loading branch information
k8s-ci-robot committed May 17, 2024
2 parents 496581c + ce6a95f commit c383925
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.

This file was deleted.

19 changes: 11 additions & 8 deletions images/capi/ansible/roles/providers/tasks/outscale.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
---
- name: Change cloud-init metadata outscale config in Ubuntu
ansible.builtin.copy:
src: files/etc/cloud/cloud.cfg.d/99_metadata.cfg
dest: /etc/cloud/cloud.cfg.d/99_metadata.cfg
owner: root
group: root
mode: "0644"
when: ansible_distribution == "Ubuntu"
- name: Install cloud-init packages
ansible.builtin.apt:
name: "{{ packages }}"
state: present
force_apt_get: true
vars:
packages:
- cloud-init
- cloud-guest-utils
- cloud-initramfs-copymods
- cloud-initramfs-dyn-netconf

0 comments on commit c383925

Please sign in to comment.