mirror of https://github.com/ansible/ansible.git
Fix ansible_ssh_host again
This time with unit tests to ensure it keeps working.pull/1648/head
parent
572c66b7f6
commit
1449c8ac67
@ -0,0 +1,2 @@
|
||||
[aliasgroup]
|
||||
alias-node.example.com ansible_ssh_host=localhost ansible_ssh_port=22
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
- hosts: all
|
||||
vars:
|
||||
test_file: /tmp/ansible-alias-test
|
||||
tasks:
|
||||
- action: command creates=$test_file touch $test_file
|
||||
- action: command creates=$test_file false
|
||||
- local_action: command true
|
||||
- action: command removes=$test_file rm -f $test_file
|
Loading…
Reference in New Issue