Don't manage dependencies when install from repos
Package manager (aptitude, yum, dnf,…) is intended to resolve and install dependencies.
This commit is contained in:
parent
09b9c5bb26
commit
dfad82144e
|
@ -23,7 +23,8 @@
|
||||||
state: 'present'
|
state: 'present'
|
||||||
register: pkg_dep_result
|
register: pkg_dep_result
|
||||||
until: pkg_dep_result is success
|
until: pkg_dep_result is success
|
||||||
when: fusioninventory__agent_deploy_state == "present"
|
when: ((fusioninventory__agent_package_url|length > 0) and
|
||||||
|
(fusioninventory__agent_deploy_state == "present"))
|
||||||
|
|
||||||
# Manage agent package [[[1
|
# Manage agent package [[[1
|
||||||
|
|
||||||
|
@ -43,8 +44,7 @@
|
||||||
else "absent" }}'
|
else "absent" }}'
|
||||||
register: pkg_agent_repo_result
|
register: pkg_agent_repo_result
|
||||||
until: pkg_agent_repo_result is success
|
until: pkg_agent_repo_result is success
|
||||||
when: ((not fusioninventory__agent_package_url) or
|
when: fusioninventory__agent_package_url|length == 0
|
||||||
(fusioninventory__agent_deploy_state == "absent"))
|
|
||||||
|
|
||||||
# Manage agent configuration file [[[1
|
# Manage agent configuration file [[[1
|
||||||
- name: Create Fusioninventory-agent configuration
|
- name: Create Fusioninventory-agent configuration
|
||||||
|
|
Reference in New Issue