spec/lib/.ansible.rb
def ansible_hosts_del
    if File.exists?(@ansible_host_file)
      File.unlink(@ansible_host_file)
    end
  end
# remove an Ansible inventory hosts file
remove an Ansible inventory hosts file
remove an Ansible inventory hosts file
def ansible_hosts_del
    if File.exists?(@ansible_host_file)
      File.unlink(@ansible_host_file)
    end
  end
def ansible_hosts_del if File . exists? ( @ansible_host_file ) File . unlink ( @ansible_host_file ) end end
remove an Ansible inventory hosts file
remove an Ansible inventory hosts file