Ansible with SDM
[group_name] sdm_server_name ansible_port=sdm_ssh_port ansible_host=127.0.0.1[sdm] bastion01 ansible_port=60672 ansible_host=127.0.0.1 bastion02 ansible_port=61300 ansible_host=127.0.0.1 deployment04 ansible_port=60834 ansible_host=127.0.0.1$ ansible -i ansibleinventory sdm -a "echo hello" deployment04 | SUCCESS | rc=0 >> hello bastion01 | SUCCESS | rc=0 >> hello bastion02 | SUCCESS | rc=0 >> hello
Last updated
Was this helpful?

