mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #468 from bengland2/fix_check_system
use proper syntax for expanding variablespull/469/head
commit
72567a741b
|
@ -2,17 +2,17 @@
|
||||||
- name: fail on unsupported system
|
- name: fail on unsupported system
|
||||||
fail:
|
fail:
|
||||||
msg: "System not supported {{ ansible_system }}"
|
msg: "System not supported {{ ansible_system }}"
|
||||||
when: "ansible_system not in ['Linux']"
|
when: "'{{ ansible_system }}' not in ['Linux']"
|
||||||
|
|
||||||
- name: fail on unsupported architecture
|
- name: fail on unsupported architecture
|
||||||
fail:
|
fail:
|
||||||
msg: "Architecture not supported {{ ansible_architecture }}"
|
msg: "Architecture not supported {{ ansible_architecture }}"
|
||||||
when: "ansible_architecture not in ['x86_64']"
|
when: "'{{ ansible_architecture }}' not in ['x86_64']"
|
||||||
|
|
||||||
- name: fail on unsupported distribution
|
- name: fail on unsupported distribution
|
||||||
fail:
|
fail:
|
||||||
msg: "Distribution not supported {{ ansible_os_family }}"
|
msg: "Distribution not supported {{ ansible_os_family }}"
|
||||||
when: "ansible_os_family not in ['Debian', 'RedHat']"
|
when: "'{{ ansible_os_family }}' not in ['Debian', 'RedHat']"
|
||||||
|
|
||||||
- name: fail on unsupported distribution for red hat storage
|
- name: fail on unsupported distribution for red hat storage
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue