mirror of https://github.com/ceph/ceph-ansible.git
main: use `ansible_facts` for `architecture`
commitpull/6378/headf6a0e95e51
reverted the change made bya7f2fa73e6
. This commit bring back this change. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
parent
c90b0985e5
commit
55bafee765
|
@ -60,7 +60,7 @@
|
|||
name: "{{ item }}"
|
||||
groups: _filtered_clients
|
||||
with_items: "{{ groups.get(client_group_name, []) | intersect(ansible_play_batch) }}"
|
||||
when: (hostvars[item]['ansible_architecture'] == 'x86_64') or (not containerized_deployment | bool)
|
||||
when: (hostvars[item]['ansible_facts']['architecture'] == 'x86_64') or (not containerized_deployment | bool)
|
||||
|
||||
tags: [with_pkg, fetch_container_image]
|
||||
- import_role:
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
name: "{{ item }}"
|
||||
groups: _filtered_clients
|
||||
with_items: "{{ groups.get(client_group_name, []) | intersect(ansible_play_batch) }}"
|
||||
when: (hostvars[item]['ansible_architecture'] == 'x86_64') or (not containerized_deployment | bool)
|
||||
when: (hostvars[item]['ansible_facts']['architecture'] == 'x86_64') or (not containerized_deployment | bool)
|
||||
|
||||
- import_role:
|
||||
name: ceph-facts
|
||||
|
|
Loading…
Reference in New Issue