# START === how-to copy file with ansible to multiple hosts
export src_file=/etc/ssh/sshd_config
export dst_file=/etc/ssh/sshd_config
export owner=root
export group=root
export mode=0600
ansible bdc -m copy -a "src=$src_file dest=$dst_file owner=$owner group=$group mode=$mode"
# STOP === how-to copy file with ansible to multiple hosts
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!