mirror of https://github.com/ansible/ansible.git
* ansible-pull added missing pasthrough for secrets
Both become and connection password file options were missing.
Also added test
(cherry picked from commit 99e0d25857
)
pull/82221/head
parent
6cfa8ec021
commit
e13569d0e2
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-pull will now correctly handle become and connection password file options for ansible-playbook.
|
@ -0,0 +1,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'"
|
@ -0,0 +1 @@
|
||||
Testing123
|
Loading…
Reference in New Issue