Skip to content

Commit

Permalink
fix compute init metadata flags
Browse files Browse the repository at this point in the history
  • Loading branch information
bertiethorpe committed Jan 9, 2025
1 parent 6d992bf commit 3faa813
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ansible/roles/compute_init/files/compute-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
vars:
os_metadata: "{{ lookup('url', 'http://169.254.169.254/openstack/latest/meta_data.json') | from_json }}"
server_node_ip: "{{ os_metadata.meta.control_address }}"
enable_compute: "{{ os_metadata.meta.enable_compute | default(false) | bool }}"
enable_resolv_conf: "{{ os_metadata.meta.enable_resolv_conf | default(false) | bool }}"
enable_etc_hosts: "{{ os_metadata.meta.enable_etc_hosts | default(false) | bool }}"
enable_nfs: "{{ os_metadata.meta.enable_nfs | default(false) | bool }}"
enable_manila: "{{ os_metadata.meta.enable_manila | default(false) | bool }}"
enable_basic_users: "{{ os_metadata.meta.enable_basic_users | default(false) | bool }}"
enable_eessi: "{{ os_metadata.meta.enable_eessi | default(false) | bool }}"
enable_compute: "{{ os_metadata.meta.compute | default(false) | bool }}"
enable_resolv_conf: "{{ os_metadata.meta.resolv_conf | default(false) | bool }}"
enable_etc_hosts: "{{ os_metadata.meta.etc_hosts | default(false) | bool }}"
enable_nfs: "{{ os_metadata.meta.nfs | default(false) | bool }}"
enable_manila: "{{ os_metadata.meta.manila | default(false) | bool }}"
enable_basic_users: "{{ os_metadata.meta.basic_users | default(false) | bool }}"
enable_eessi: "{{ os_metadata.meta.eessi | default(false) | bool }}"

# TODO: "= role defaults" - could be moved to a vars_file: on play with similar precedence effects
resolv_conf_nameservers: []
Expand Down

0 comments on commit 3faa813

Please sign in to comment.