Skip to content

Instantly share code, notes, and snippets.

@kudaliar032
Created October 13, 2021 08:02
Show Gist options
  • Save kudaliar032/b240f9b93da9bbb007521e450f77a35a to your computer and use it in GitHub Desktop.
Save kudaliar032/b240f9b93da9bbb007521e450f77a35a to your computer and use it in GitHub Desktop.
installing-longhorn-requirement-packages
---
- name: Install Longhorn Requirement Packages
hosts: all
remote_user: ubuntu
gather_facts: false
become: yes
tasks:
- name: Install packages
ansible.builtin.apt:
pkg:
- open-iscsi
- nfs-common
state: present
update_cache: yes
- name: Start open-iscsi service
ansible.builtin.service:
name: iscsid
state: started
enabled: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment