Skip to content

Commit b4f85aa

Browse files
committed
Fix Ansible 2.x deprecation warnings.
1 parent ee82e5b commit b4f85aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ galaxy_info:
66
description: Git version control software
77
company: "Midwestern Mac, LLC"
88
license: "license (BSD, MIT)"
9-
min_ansible_version: 1.8
9+
min_ansible_version: 1.9
1010
platforms:
1111
- name: EL
1212
versions:

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: "{{ item }}"
55
state: installed
66
enablerepo: "{{ git_enablerepo }}"
7-
with_items: git_packages
7+
with_items: "{{ git_packages }}"
88
when: (git_install_from_source == false) and (ansible_os_family == 'RedHat')
99

1010
- name: Update apt cache (Debian).
@@ -15,7 +15,7 @@
1515
apt:
1616
name: "{{ item }}"
1717
state: installed
18-
with_items: git_packages
18+
with_items: "{{ git_packages }}"
1919
when: (git_install_from_source == false) and (ansible_os_family == 'Debian')
2020

2121
# Install git from source when git_install_from_source is true.

0 commit comments

Comments
 (0)