Skip to content

Commit

Permalink
Remove ec2_facts
Browse files Browse the repository at this point in the history
  • Loading branch information
Gramos committed Dec 18, 2017
1 parent bd44cfa commit fee6665
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tasks/conf.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
---

- debug:
msg: ansible_version.string

- name: gather EC2 facts
ec2_facts:
when: ansible_version.string < "2.4"

- name: gather EC2 facts
ec2_metadata_facts:
when: ansible_version.string >= "2.4"

- name: "Make /var/awslogs/state/ directory"
file:
path: /var/awslogs/state/
Expand Down

0 comments on commit fee6665

Please sign in to comment.