apt_repository - Add and remove APT repositories — Ansible ...
docs.ansible.com › ansible › 2# Add specified repository into sources list.-apt_repository: repo: deb http://archive.canonical.com/ubuntu hardy partner state: present # Add specified repository into sources list using specified filename.-apt_repository: repo: deb http://dl.google.com/linux/chrome/deb/ stable main state: present filename: 'google-chrome' # Add source repository into sources list.-apt_repository: repo: deb-src http://archive.canonical.com/ubuntu hardy partner state: present # Remove specified repository ...
apt_repository – Add and remove APT repositories — Ansible ...
docs.ansible.com › apt_repository_module# Add specified repository into sources list.-apt_repository: repo: deb http://archive.canonical.com/ubuntu hardy partner state: present # Add specified repository into sources list using specified filename.-apt_repository: repo: deb http://dl.google.com/linux/chrome/deb/ stable main state: present filename: google-chrome # Add source repository into sources list.-apt_repository: repo: deb-src http://archive.canonical.com/ubuntu hardy partner state: present # Remove specified repository from ...