Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix package installer deprecation warnings in Ansible 2.7 #14

Merged
merged 1 commit into from Nov 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 11 additions & 14 deletions tasks/main.yml
Expand Up @@ -6,31 +6,28 @@

- name: install the required dependencies (Debian)
apt:
name: "{{ item }}"
name:
- openssl
- python-boto
- python-openssl
state: present
with_items:
- openssl
- python-boto
- python-openssl
when: ansible_os_family == 'Debian'

- name: install the required dependencies (Red Hat) (Requires EPEL)
yum:
name: "{{ item }}"
name:
- openssl
- python-pip
state: present
with_items:
- openssl
- python-pip
when: ansible_os_family == 'RedHat'

- name: install the required dependencies (FreeBSD)
pkgng:
name: "{{ item }}"
name:
- openssl
- py27-boto
- py27-openssl
state: present
with_items:
- openssl
- py27-boto
- py27-openssl
when: ansible_os_family == 'FreeBSD'

- name: "create the {{ ler53_cert_dir }} directory"
Expand Down