Advertisement
Guest User

apt_install.yaml

a guest
Nov 12th, 2019
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.36 KB | None | 0 0
  1. - hosts: all  
  2.   gather_facts: true  
  3.  
  4.   tasks:
  5.   - name: Install packages that allow apt to be used over HTTPS  
  6.     apt:
  7.       name: "{{ packages }}"  
  8.       state: present  
  9.       update_cache: yes  
  10.     vars:
  11.       packages:
  12.      - apt-transport-https
  13.       - ca-certificates
  14.       - curl
  15.       - gnupg-agent
  16.       - software-properties-common
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement