Skip to content

Commit

Permalink
combine variables in main
Browse files Browse the repository at this point in the history
  • Loading branch information
victorock committed Mar 6, 2019
1 parent 3925a3e commit 392cafd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 1 addition & 3 deletions tasks/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
- name: "Configure Variables"
import_tasks: "config/variables.yml"

---
- name: "Configure Tower-CLI"
import_tasks: "config/tower_cli.yml"

Expand Down
3 changes: 0 additions & 3 deletions tasks/config/variables.yml

This file was deleted.

8 changes: 5 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
- name: "Combine Configuration Hashes from User and Role"
set_fact:
tower_config: "{{ _tower_config | combine(tower_config) }}"

- name: "config.yml"
import_tasks: config.yml
environment:
PATH: "{{ _tower_config.awx_venv }}:{{ ansible_env.PATH }}"
import_tasks: config.yml

0 comments on commit 392cafd

Please sign in to comment.