Merge "Use include_role in task to avoid lack of access to vars"
This commit is contained in:
commit
ea0bbd2c58
@ -22,7 +22,9 @@
|
||||
- name: Install Journal-Remote
|
||||
hosts: hosts
|
||||
gather_facts: false
|
||||
roles:
|
||||
- openstack.osa.journald_remote
|
||||
tasks:
|
||||
- name: Include journald-remote role
|
||||
include_role:
|
||||
name: openstack.osa.journald_remote
|
||||
tags:
|
||||
- journal-remote
|
||||
|
@ -35,8 +35,10 @@
|
||||
gather_facts: false
|
||||
user: root
|
||||
pre_tasks:
|
||||
roles:
|
||||
- role: "ansible-hardening"
|
||||
tasks:
|
||||
- name: Include security hardening role
|
||||
include_role:
|
||||
name: "ansible-hardening"
|
||||
when: apply_security_hardening | bool
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
tags:
|
||||
|
Loading…
Reference in New Issue
Block a user