Update main.yml
This commit is contained in:
parent
a5ad2cfc68
commit
ef1a6e583d
1 changed files with 6 additions and 10 deletions
|
@ -46,13 +46,7 @@
|
|||
- debug:
|
||||
msg: "{% if mysql_install_result.msg is defined %} {{mysql_install_result.msg}} {% endif %}"
|
||||
|
||||
#3 Tool install
|
||||
- name: Install tools
|
||||
include_tasks: tools_{{item}}.yml
|
||||
with_items: "{{common_install_tools}}"
|
||||
when: common_install_tools is defined and common_install_tools is not none and common_install_tools != "" and common_install_tools[0]!= ""
|
||||
|
||||
#4 Configure
|
||||
#3 Configure
|
||||
- name: Create common folder
|
||||
file:
|
||||
path: '/data/{{item}}'
|
||||
|
@ -73,9 +67,11 @@
|
|||
- hostname:
|
||||
name: "{{common_get_hostname.stdout}}"
|
||||
|
||||
#- name: Snap install yq
|
||||
# shell: snap install yq
|
||||
|
||||
#4 Tool install
|
||||
- name: Install tools
|
||||
include_tasks: tools_{{item}}.yml
|
||||
with_items: "{{common_install_tools}}"
|
||||
when: common_install_tools is defined and common_install_tools is not none and common_install_tools != "" and common_install_tools[0]!= ""
|
||||
|
||||
# Softlink
|
||||
- name: Create a symbolic link
|
||||
|
|
Loading…
Add table
Reference in a new issue