File: config.yml

package info (click to toggle)
python-mitogen 0.3.36-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,708 kB
  • sloc: python: 24,457; sh: 198; makefile: 74; perl: 19; ansic: 18
file content (23 lines) | stat: -rw-r--r-- 515 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# issue #334: test expanduser() on key file during config generation.

- name: integration/ssh/config.yml
  hosts: test-targets
  connection: ssh
  vars:
    ansible_private_key_file: ~/fakekey
  tasks:
    - include_tasks: ../_mitogen_only.yml

    - mitogen_get_stack:
      register: out

    - assert:
        that: |
          out.result[0].kwargs.identity_file == (
            lookup('env', 'HOME') + '/fakekey'
          )
        fail_msg: |
          out={{ out }}
  tags:
    - config
    - mitogen_only