Difference between revisions of "Ansible playbook: Add a repository (apt repository)"
Jump to navigation
Jump to search
(Created page with "Ref: https://docs.ansible.com/ansible/latest/modules/apt_repository_module.html <pre> - name: Add docker repository to Ubuntu apt_repository: repo: deb [arch=amd64] http...") |
|||
Line 11: | Line 11: | ||
* {{Ansible}} | * {{Ansible}} | ||
* {{Package managers}} | * {{Package managers}} | ||
+ | |||
+ | |||
+ | [[Category:Ansible]] |
Revision as of 10:38, 16 January 2020
Ref: https://docs.ansible.com/ansible/latest/modules/apt_repository_module.html
- name: Add docker repository to Ubuntu apt_repository: repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ubuntu_distribution_release}} stable state: present
See also
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions - Package managers: dpkg, APT, RPM, YUM, DNF, homebrew, pkgutil, opkg, Helm, pkg and snap, npm, Aptitude, alien, Conan, CRAN, Chocolatey, NuGet, PackageKit, Wajig, pacman, PIP, Apache Ivy, List packages, List files in packages, Spack
Advertising: