DCD-224: Use import_tasks rather than deprecated import.

This commit is contained in:
Steve Smith
2019-04-17 12:05:02 +10:00
parent ade6b02c90
commit 121c630034
3 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
--- ---
- name: Install distro-specific prerequisites - name: Install distro-specific prerequisites
include: "{{ ansible_distribution|lower }}.yml" include_tasks: "{{ ansible_distribution|lower }}.yml"
- name: Fetch local EC2 metadata - name: Fetch local EC2 metadata
ec2_metadata_facts: ec2_metadata_facts:

View File

@@ -3,7 +3,7 @@
# Note: Try and limit these to packages that are distro-specific, and # Note: Try and limit these to packages that are distro-specific, and
# place commonly-named ones below. # place commonly-named ones below.
- name: Install distro-specific prerequisites - name: Install distro-specific prerequisites
include: "{{ ansible_distribution|lower }}.yml" include_tasks: "{{ ansible_distribution|lower }}.yml"
- name: Install common support packages - name: Install common support packages
package: package:

View File

@@ -1,7 +1,7 @@
--- ---
- name: Perform distro-specific tasks - name: Perform distro-specific tasks
include: "{{ ansible_distribution|lower }}.yml" include_tasks: "{{ ansible_distribution|lower }}.yml"
- name: Create product user - name: Create product user
user: user: