Closed inghamn closed 5 years ago
The old way of doing apt with-items is deprecated. The new way is to declare a variable for all the package names.
- name: "Install Dependencies" apt: name: "{{ packages }}" state: present vars: packages: - "postgis"
- name: "Install Dependencies" apt: name: "{{ item }}" state: present with_items: - "postgis"
The old way of doing apt with-items is deprecated. The new way is to declare a variable for all the package names.
New style for apt-get install
Old, deprecated style