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

Prefix env variable #62

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prefix env variable to avoid collision with a too generic "env" varia…
…ble name
  • Loading branch information
Seraf committed Sep 1, 2015
commit c10dcd2dc878995e73271a2b2780a84e5f1e2647
2 changes: 1 addition & 1 deletion tasks/installation.packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
- name: Install the nginx packages
apt: name={{ item }} state=present
with_items: nginx_ubuntu_pkg
environment: env
environment: nginx_env
when: ansible_os_family == "Debian"
tags: [packages,nginx]
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

env:
nginx_env:
RUNLEVEL: 1

nginx_installation_types_using_service: ["packages"]
Expand Down