Skip to content

Commit

Permalink
Merge pull request #1 from singleplatform-eng/SPROD-6311_ansible24_se…
Browse files Browse the repository at this point in the history
…mantics

Sprod 6311 ansible24 semantics
  • Loading branch information
sp-lyang authored Jun 7, 2018
2 parents c79e411 + 941b408 commit a0e748e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ galaxy_info:
author: pablerass
description: Installs Xvfb package and configures it as a service
license: LGPLv3
min_ansible_version: 1.9
min_ansible_version: 2.4
platforms:
- name: Ubuntu
versions:
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
state: installed

- name: Install for systemV
include: systemv.yml
include_tasks: systemv.yml
when: ansible_service_mgr != "systemd"

- name: Install for systemd
include: systemd.yml
include_tasks: systemd.yml
when: ansible_service_mgr == "systemd"

- name: "Configure display environment variable"
Expand Down

0 comments on commit a0e748e

Please sign in to comment.