---
# Facts that are not (yet) in ansible.

# TODO(pwnall): Remove this in favor of ansible_firewalld when PR gets merged.
#               https://github.com/ansible/ansible/pull/12288
- name: look for firewalld
  stat: path=/usr/bin/firewall-cmd
  register: firewall_cmd_stat
- name: set has_firewalld fact
  set_fact:
    has_firewalld: "{{ firewall_cmd_stat.stat.exists }}"


- name: set root_fs_type fact
  set_fact:
    root_fs_type: "{{
        (ansible_mounts | selectattr('mount', 'equalto', '/') | first).fstype
        }}"

- name: print root_fs_type
  debug: var=root_fs_type

---
# Facts that are not (yet) in ansible.

# TODO(pwnall): Remove this in favor of ansible_firewalld when PR gets merged.
#               https://github.com/ansible/ansible/pull/12288
- name: look for firewalld
  stat: path=/usr/bin/firewall-cmd
  register: firewall_cmd_stat
- name: set has_firewalld fact
  set_fact:
    has_firewalld: "{{ firewall_cmd_stat.stat.exists }}"


- name: set root_fs_type fact
  set_fact:
    root_fs_type: "{{
        (ansible_mounts | selectattr('mount', 'equalto', '/') | first).fstype
        }}"

Remove debugging statement from Ansible role.
Remove debugging statement from Ansible role.
