This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/roles/kni/tasks/main.yml

24 lines
510 B
YAML
Raw Normal View History

2019-06-22 18:22:31 +08:00
---
2020-01-08 20:02:59 +08:00
- name: "copy kni to destination server"
copy:
src: "{{ role_path }}/files/"
dest: /tmp/ansible_deploy/
2019-06-22 18:22:31 +08:00
2019-09-23 20:33:09 +08:00
- name: "install kni rpms from localhost"
yum:
name:
2020-01-16 10:14:51 +08:00
- /tmp/ansible_deploy/kni-3.0.2.57bfa41-1.el7.x86_64.rpm
2019-09-23 20:33:09 +08:00
state: present
- name: Template the kni.conf
template:
src: "{{ role_path }}/templates/kni.conf.j2"
dest: /home/mesasoft/sapp_run/etc/kni/kni.conf
2019-09-03 21:04:43 +08:00
tags: template
- name: "enable sapp"
systemd:
name: sapp
enabled: yes
daemon_reload: yes