Скопировать файл на удалённый хост ansible

Отправить локальный файл на все хосты с правами

ansible all -m copy -a 'src=./nginx.conf dest=/etc/nginx/nginx.conf owner=root mode=0644' -i inventory.ini
more ansible all 56 commands →