mirror of https://github.com/ansible/ansible.git
Merge pull request #1399 from dhozac/set-delegate-for-alias
Fix ansible_ssh_host againpull/1648/head
commit
52f2ed5fe1
@ -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