ceph-ansible/tests/functional/setup.yml

23 lines
429 B
YAML
Raw Normal View History

---
- hosts: all
gather_facts: true
become: yes
tasks:
- name: check if it is Atomic host
stat: path=/run/ostree-booted
register: stat_ostree
always_run: true
- name: set fact for using Atomic host
set_fact:
is_atomic: '{{ stat_ostree.stat.exists }}'
- name: install net-tools
package:
name: net-tools
state: present
when:
- not is_atomic