12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- ---
- - name: Install genisoimage package
- package:
- name: genisoimage
- state: present
- tags: install
- - name: Install ansible-galaxy modules
- command: ansible-galaxy collection install {{ item }}
- changed_when: true
- with_items:
- - community.general
- - dellemc.openmanage
- - name: Install omsdk using pip
- pip:
- name: omsdk
- state: present
- tags: install
- - name: Check iso mount folder
- stat:
- path: "{{ iso_mount_path }}{{ isolinux_cfg_path }}"
- register: check_mount_iso
- tags: install
- - name: Incorrect iso mount
- fail:
- msg: "{{ iso_mount_check_fail_msg }}"
- when: not check_mount_iso.stat.exists
- register: iso_mount_fail
- tags: install
|