22 lines
514 B
YAML
22 lines
514 B
YAML
|
---
|
||
|
- name: Include OS-specific variables.
|
||
|
include_vars: "{{ ansible_os_family }}.yml"
|
||
|
|
||
|
- name: Install AWX dependencies.
|
||
|
package:
|
||
|
name: "{{ item }}"
|
||
|
state: present
|
||
|
with_items: "{{ awx_package_dependencies }}"
|
||
|
|
||
|
- name: Clone AWX into configured directory.
|
||
|
git:
|
||
|
repo: "{{ awx_repo }}"
|
||
|
dest: "{{ awx_repo_dir }}"
|
||
|
version: "{{ awx_version }}"
|
||
|
update: "{{ awx_keep_updated }}"
|
||
|
force: yes
|
||
|
accept_hostkey: yes
|
||
|
|
||
|
- include: awx-install-playbook.yml
|
||
|
when: awx_run_install_playbook
|