summaryrefslogtreecommitdiff
path: root/roles/install-cloud-init-wrapper/tasks/main.yml
blob: 7ab97052c3d216e087ae89c2ad0315cc6befe170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- name: Check if we need to install Cloud-Init
  include_role:
    name: install-cloud-init
  when: cloud_init == "true"
- name: Set Cloud-Init tag for image file name
  set_fact:
    ci_tag: "-cloud-init"
  when: cloud_init == "true"
# - name: Set empty Cloud-Init tag for image file name
#   set_fact:
#     ci_tag: ""
#   when: cloud_init == "false"