diff --git a/README.md b/README.md index a55bc6c..3eee2e8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Simple Role to Configure Ansible Tower by Red Hat. Requirements ------------ -None +`ansible-tower-cli` Role Variables -------------- @@ -280,15 +280,8 @@ tower_config: Dependencies ------------ -The following dependencies are defined in `meta/main.yml`: - -```YAML -dependencies: - - role: geerlingguy.pip - pip_install_packages: - - name: ansible-tower-cli +None -``` Example Playbook ---------------- diff --git a/meta/main.yml b/meta/main.yml index 0fd1c17..c0b1d9b 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,7 +1,4 @@ -dependencies: - - role: geerlingguy.pip - pip_install_packages: - - name: ansible-tower-cli +dependencies: [] galaxy_info: role_name: tower_config diff --git a/tasks/config.yml b/tasks/config.yml index f54e99b..864fac2 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -1,6 +1,4 @@ -- name: "Configure Variables" - import_tasks: "config/variables.yml" - +--- - name: "Configure Tower-CLI" import_tasks: "config/tower_cli.yml" diff --git a/tasks/config/variables.yml b/tasks/config/variables.yml deleted file mode 100644 index e3ec535..0000000 --- a/tasks/config/variables.yml +++ /dev/null @@ -1,3 +0,0 @@ -- name: "config.variables: Combine Configuration Hashes from User and Role" - set_fact: - tower_config: "{{ _tower_config | combine( tower_config ) }}" diff --git a/tasks/main.yml b/tasks/main.yml index 0f1686b..7d878bc 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 \ No newline at end of file