ansible コマンドなら ansible all -s -K -i ./inventory_hosts -m apt_repository -a "repo='ppa:chris-lea/node.js'"
とか、playbook
に書くなら、 - apt_repository: repo='ppa:chris-lea/node.js'
とかいう話です。
詳細は ansible で ppa を追加する を見てください。
More than 5 years have passed since last update.
ansible コマンドなら ansible all -s -K -i ./inventory_hosts -m apt_repository -a "repo='ppa:chris-lea/node.js'"
とか、playbook
に書くなら、 - apt_repository: repo='ppa:chris-lea/node.js'
とかいう話です。
詳細は ansible で ppa を追加する を見てください。
Register as a new user and use Qiita more conveniently