mirror of https://github.com/ansible/ansible.git
Aliased node test doesn't make sense locally, so remove it.
parent
9985995a9d
commit
0c4b30a471
@ -1,4 +0,0 @@
|
||||
other-alias-node.example.com ansible_ssh_host=localhost ansible_ssh_port=28848
|
||||
|
||||
[aliasgroup]
|
||||
alias-node.example.com ansible_ssh_host=localhost
|
@ -1,18 +0,0 @@
|
||||
---
|
||||
- hosts: aliasgroup
|
||||
connection: local
|
||||
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
|
||||
|
||||
- hosts: all
|
||||
connection: local
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- action: command true
|
||||
delegate_to: alias-node.example.com
|
||||
- action: command true
|
Loading…
Reference in New Issue