- name: regression/issue_590__sys_modules_crap.yml
  hosts: test-targets
  tasks:
  - meta: end_play
    when:
      - ansible_version_major_minor is version('2.8', '<', strict=True)

  - custom_python_uses_distro:
    register: out

  - assert:
      that:
      - "'id' in out.info"
      fail_msg: |
        out={{ out }}
  tags:
    - issue_590
