mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #10 from leseb/wip-check-sys-arch-support
Check system and architecturepull/3/head
commit
018c71937d
|
@ -2,6 +2,14 @@
|
|||
## Common to all the ceph nodes
|
||||
#
|
||||
|
||||
- name: Fail on unsupported system
|
||||
fail: msg="System not supported {{ ansible_system }}"
|
||||
when: ansible_system not in ['Linux']
|
||||
|
||||
- name: Fail on unsupported architecture
|
||||
fail: msg="Architeture not supported {{ ansible_architectore }}"
|
||||
when: ansible_architecture not in ['x86_64']
|
||||
|
||||
- name: Install dependancies
|
||||
apt: pkg={{ item }} state=installed update_cache=yes # we update the cache just in case...
|
||||
with_items:
|
||||
|
|
Loading…
Reference in New Issue