mirror of https://github.com/ansible/ansible.git
ansible-pull now handles all secret files CLI options (#82009)
* ansible-pull added missing pasthrough for secrets Both become and connection password file options were missing. Also added testpull/82030/head
parent
9ee603d1c5
commit
99e0d25857
@ -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