summaryrefslogtreecommitdiff
path: root/test/integration/targets/ansible-pull/pull-integration-test/conn_secret.yml
blob: f8849730e91d116815a567fe99af91d3b98c8b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- hosts: localhost
  gather_facts: false
  tasks:
    - ping: data='{{ansible_password}}'
      register: dumb
      vars:
        ansible_python_interpreter: '{{ansible_playbook_python}}'

    - name: If we got here, password was passed!
      assert:
        that:
          - "dumb.ping == 'Testing123'"