Skip to content

Commit

Permalink
Actually fix ppc64le provisioning now
Browse files Browse the repository at this point in the history
  • Loading branch information
Stringy committed Jan 3, 2024
1 parent b0ba0ef commit fcb1444
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ansible/roles/provision-vm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@

# set facts for weird platforms that report different families
- set_fact:
is_rhel: "{{ vm_config.find('rhel') != -1 }}"
is_coreos: "{{ vm_config.find('coreos') != -1 }}"
is_ubuntu: "{{ vm_config.find('ubuntu-os') != -1 }}"
is_flatcar: "{{ vm_config.find('flatcar') != -1 }}"

# Wait for SSH to be available on the remote host
Expand Down Expand Up @@ -43,11 +41,11 @@

- name: RedHat Provisioning
include_tasks: "redhat.yml"
when: is_rhel|bool
when: ansible_facts['os_family'] == 'RedHat'

- name: Ubuntu Provisioning
include_tasks: "ubuntu.yml"
when: is_ubuntu|bool
when: ansible_facts['os_family'] == 'Debian'

- name: Docker specific setup
include_tasks: "docker.yml"
Expand Down

0 comments on commit fcb1444

Please sign in to comment.