-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a playbook to install prerequisites for fixing a broken Netplan c…
…onfiguration See these issues for more information: - #300 - canonical/cloud-init#4764
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
# Install the prerequisites for the user script that fixes the Netplan | ||
# configuration generated by cloud-init from the instance metadata. | ||
# | ||
# See these issues for more details: | ||
# - cisagov/skeleton-packer#300 | ||
# - canonical/cloud-init#4764 | ||
- hosts: all | ||
name: >- | ||
Install prerequisites for the script that fixes the Netplan | ||
configuration generated by cloud-init from the instance metadata | ||
become: true | ||
become_method: ansible.builtin.sudo | ||
tasks: | ||
- name: Install python3-pyyaml | ||
ansible.builtin.package: | ||
name: | ||
- python3-yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters