ndm agent 추가

This commit is contained in:
ByeonJungHun
2024-03-19 16:10:20 +09:00
parent 90987a8db6
commit 25ea47dbe5
24 changed files with 926 additions and 13 deletions

View File

@@ -13,9 +13,7 @@
when: ansible_distribution_major_version == '7'
- name: install rsync os version 7
ansible.builtin.yum:
name: "{{ EXEM_HOME }}/rhel7.rpm"
state: present
ansible.builtin.shell: "yum localinstall -y {{ EXEM_HOME }}/rhel7.rpm"
when: ansible_distribution_major_version == '7'
- name: Copy rsync install rpm OS - 8
@@ -26,9 +24,7 @@
when: ansible_distribution_major_version == '8'
- name: install rsync os version 8
ansible.builtin.yum:
name: "{{ EXEM_HOME }}/rhel8.rpm"
state: present
ansible.builtin.shell: "yum localinstall -y {{ EXEM_HOME }}/rhel8.rpm"
when: ansible_distribution_major_version == '8'
- name: Copy rsync install rpm OS - 9
@@ -39,7 +35,5 @@
when: ansible_distribution_major_version == '9'
- name: install rsync os version 9
ansible.builtin.yum:
name: "{{ role_path }}/files/rpm/rhel9.rpm"
state: present
ansible.builtin.shell: "yum localinstall -y {{ EXEM_HOME }}/rhel9.rpm"
when: ansible_distribution_major_version == '9'