소스 검색

[galene] Start it on install

Colin Powell 3 년 전
부모
커밋
b9b7eb43a2
1개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 7 3
      ansible/roles/galene/tasks/main.yml

+ 7 - 3
ansible/roles/galene/tasks/main.yml

@@ -27,12 +27,16 @@
     dest: /usr/local/etc/rc.d/galene
     mode: a+x
 
-- name: Galene enabled
-  shell: sysrc galene_enable="YES"
-
 - name: Install galene
   ansible.builtin.copy:
     src: /usr/local/src/galene/galene
     dest: /usr/local/bin/galene
     remote_src: yes
+    mode: a+x
   notify: Galene restarted
+
+- name: Galene enabled
+  shell: sysrc galene_enable="YES"
+
+- name: Galene started
+  service: name=galene state=started