mirror of
https://github.com/ansible/awx.git
synced 2026-08-02 10:59:56 -02:30
ansible playbook: move to modern syntax
Signed-off-by: Yanis Guenane <yguenane@redhat.com>
This commit is contained in:
@@ -115,7 +115,8 @@
|
||||
- update_insights
|
||||
|
||||
- name: Repository Version
|
||||
debug: msg="Repository Version {{ scm_version }}"
|
||||
debug:
|
||||
msg: "Repository Version {{ scm_version }}"
|
||||
tags:
|
||||
- update_git
|
||||
- update_hg
|
||||
@@ -130,7 +131,8 @@
|
||||
|
||||
- block:
|
||||
- name: detect requirements.yml
|
||||
stat: path={{project_path|quote}}/roles/requirements.yml
|
||||
stat:
|
||||
path: '{{project_path|quote}}/roles/requirements.yml'
|
||||
register: doesRequirementsExist
|
||||
|
||||
- name: fetch galaxy roles from requirements.yml
|
||||
@@ -149,7 +151,8 @@
|
||||
|
||||
- block:
|
||||
- name: detect collections/requirements.yml
|
||||
stat: path={{project_path|quote}}/collections/requirements.yml
|
||||
stat:
|
||||
path: '{{project_path|quote}}/collections/requirements.yml'
|
||||
register: doesCollectionRequirementsExist
|
||||
|
||||
- name: fetch galaxy collections from collections/requirements.yml
|
||||
|
||||
Reference in New Issue
Block a user