mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
try to install jmespath on github host
Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
This commit is contained in:
parent
c6febf3249
commit
5ed100b7ea
1 changed files with 7 additions and 0 deletions
|
@ -21,6 +21,12 @@
|
|||
state: present
|
||||
when: ansible_facts.os_family == 'Suse'
|
||||
|
||||
- name: install jmespath to use the json_query filter
|
||||
pip:
|
||||
name: jmespath
|
||||
state: present
|
||||
delegate_to: localhost
|
||||
|
||||
- name: create missing directory
|
||||
file:
|
||||
path: "/etc/mysql/conf.d"
|
||||
|
@ -41,6 +47,7 @@
|
|||
- mysql_python_package_debian is not defined
|
||||
- ansible_distribution != "Ubuntu"
|
||||
- ansible_distribution_major_version|int < 20
|
||||
|
||||
- include_role:
|
||||
name: dev-sec.mysql
|
||||
|
||||
|
|
Loading…
Reference in a new issue