Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cloud init problems with ubuntu #1150

Merged
merged 10 commits into from
Aug 22, 2024
11 changes: 4 additions & 7 deletions ansible/roles/providers/tasks/vmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
# FIXME: remove after upgrading ansible
supershal marked this conversation as resolved.
Show resolved Hide resolved
- name: update apt cache
command: apt-get update

- name: Install cloud-init packages
apt:
name: "{{ packages }}"
Expand All @@ -25,13 +29,6 @@
- cloud-initramfs-dyn-netconf
when: ansible_os_family == "Debian"

- name: Ensure cloud-init version > 23.1.3 is installed
apt:
name: "cloud-init=24.1.3-0ubuntu1~20.04.5"
state: present
when:
- ansible_os_family == "Debian"
- not offline_mode_enabled

- name: Install cloud-init packages
yum:
Expand Down
Loading