Install dependencies packages
This commit is contained in:
parent
c44895f015
commit
94f248080a
|
@ -4,4 +4,5 @@
|
||||||
### Features
|
### Features
|
||||||
* Add linux.dell.com repo
|
* Add linux.dell.com repo
|
||||||
* Set "present" state for Dell hardware
|
* Set "present" state for Dell hardware
|
||||||
|
* Install dependencies packages
|
||||||
* Install base packages for all racadm usage
|
* Install base packages for all racadm usage
|
||||||
|
|
|
@ -18,6 +18,7 @@ A role to manage Openmanage installation and configuration.
|
||||||
openmanage__repositories** : List of APT repositories that can provide OpenManage. Each entry is a dict [default : `See default/main.yml`].
|
openmanage__repositories** : List of APT repositories that can provide OpenManage. Each entry is a dict [default : `See default/main.yml`].
|
||||||
* **openmanage__deploy_state** : The desired state this role should achieve. [default for Dell hardware : `present`].
|
* **openmanage__deploy_state** : The desired state this role should achieve. [default for Dell hardware : `present`].
|
||||||
* **openmanage__install_recommends** : If recommended packages should be install. [default : `False`].
|
* **openmanage__install_recommends** : If recommended packages should be install. [default : `False`].
|
||||||
|
* **openmanage__dep_packages** : List of dependencies packages to be able to run racadm [default : `See default/main.yml`].
|
||||||
* **openmanage__base_packages** : List of base packages for all racadm base usage [default : `See default/main.yml`].
|
* **openmanage__base_packages** : List of base packages for all racadm base usage [default : `See default/main.yml`].
|
||||||
|
|
||||||
## Example Playbook
|
## Example Playbook
|
||||||
|
@ -35,6 +36,7 @@ openmanage__repositories** : List of APT repositories that can provide OpenMan
|
||||||
|
|
||||||
This role will :
|
This role will :
|
||||||
* Add an APT repository in order to provide OpenManage.
|
* Add an APT repository in order to provide OpenManage.
|
||||||
|
* Install dependencies packages.
|
||||||
* Install basic packages for all racadm usage.
|
* Install basic packages for all racadm usage.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
|
@ -60,6 +60,13 @@ openmanage__deploy_state: '{{ "present"
|
||||||
#
|
#
|
||||||
openmanage__install_recommends: False
|
openmanage__install_recommends: False
|
||||||
# ]]]
|
# ]]]
|
||||||
|
# .. envvar:: openmanage__dep_packages [[[
|
||||||
|
#
|
||||||
|
# Fix some dependencies to be able to run racadm.
|
||||||
|
#
|
||||||
|
openmanage__dep_packages:
|
||||||
|
- 'libargtable2-0'
|
||||||
|
# ]]]
|
||||||
# .. envvar:: openmanage__base_packages [[[
|
# .. envvar:: openmanage__base_packages [[[
|
||||||
#
|
#
|
||||||
# List of base packages to install.
|
# List of base packages to install.
|
||||||
|
|
|
@ -35,7 +35,17 @@
|
||||||
openmanage__register_key.changed)
|
openmanage__register_key.changed)
|
||||||
|
|
||||||
# Manage packages [[[1
|
# Manage packages [[[1
|
||||||
## Manage base system packages
|
## Manage depencies packages
|
||||||
|
- name: Ensure dependencies are present
|
||||||
|
package:
|
||||||
|
name: '{{ item }}'
|
||||||
|
state: "present"
|
||||||
|
install_recommends: '{{ openmanage__install_recommends | bool }}'
|
||||||
|
with_flattened:
|
||||||
|
- '{{ openmanage__dep_packages | to_nice_json }}'
|
||||||
|
when: (openmanage__deploy_state == "present")
|
||||||
|
|
||||||
|
## Manage base system packages
|
||||||
- name: Ensure base packages are in there desired state
|
- name: Ensure base packages are in there desired state
|
||||||
package:
|
package:
|
||||||
name: '{{ item }}'
|
name: '{{ item }}'
|
||||||
|
|
Loading…
Reference in New Issue