Commit cfe87ea6 by Szeberényi Imre

nfs-client

parent 11cf5f5e
- hosts: all
become: true
roles:
- nfs-client
# Default variables for the monitor_client role
monitor_client_repo_name: "https://git.ik.bme.hu/circle3/monitor_client.git"
monitor_client_repo_revision: "python3.6"
monitor_client_repo_name: "https://git.ik.bme.hu/CIRCLE3/monitor-client.git"
monitor_client_repo_revision: "master"
monitor_client_app_user: "cloud"
monitor_client_base_dir: "/home/{{ monitor_client_app_user }}/monitor-client"
monitor_client_repo_dir: "/home/{{ monitor_client_app_user }}/monitor-client"
......
......@@ -55,3 +55,21 @@
become: yes
become_user: "{{ monitor_client_app_user }}"
tags: [ 'deps' ]
- name: copy service
ansible.builtin.copy:
src: "{{ monitor_client_repo_dir }}/miscellaneous/monitor-client.service"
dest: /etc/systemd/system/monitor-client.service
owner: root
group: root
mode: "0644"
become: yes
notify: systemd daemon-reload
- name: restart monitor-client
ansible.builtin.systemd:
name: monitor-client
enabled: true
state: started
become: yes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment