--- - include: ceph_setup_env.yml when: inventory_hostname == "{{ groups['controller'][0] }}" tags: - ceph_deploy - ceph_setup_env - ceph_install - include: ceph_install_Debian.yml when: inventory_hostname == groups['controller'][0] and ansible_os_family == "Debian" tags: - ceph_deploy - ceph_install - include: ceph_install_RedHat.yml when: inventory_hostname == groups['controller'][0] and ansible_os_family == "RedHat" tags: - ceph_deploy - ceph_install - include: ceph_openstack_pre.yml when: inventory_hostname == "{{ groups['controller'][0] }}" tags: - ceph_deploy - ceph_openstack_pre - ceph_openstack - include: ceph_openstack_conf.yml when: inventory_hostname == "{{ groups['controller'][0] }}" tags: - ceph_deploy - ceph_openstack_conf - ceph_openstack