File: adjacent_to_playbook.yml

package info (click to toggle)
python-mitogen 0.3.26-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,456 kB
  • sloc: python: 22,134; sh: 183; makefile: 74; perl: 19; ansic: 18
file content (18 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# external2 is loaded from config path.
# external1 is loaded from integration/module_utils/module_utils/..

- name: integration/module_utils/adjacent_to_playbook.yml
  hosts: test-targets
  tasks:

  - custom_python_external_module:
    register: out

  - assert:
      that:
      - out.external1_path == "ansible/integration/module_utils/module_utils/external1.py"
      - out.external2_path == "ansible/lib/module_utils/external2.py"
      fail_msg: |
        out={{ out }}
  tags:
    - adjacent_to_playbook