Commit 70d6162c authored by nanahira's avatar nanahira

update migration

parent 2f31fbb3
---
- hosts: wg
- hosts: switch
vars:
services: []
tasks:
......@@ -20,9 +20,19 @@
WantedBy=multi-user.target
dest: /etc/systemd/system/railgun-global-setup.service
register: global_systemd_result
- name: global-postup systemd disable
become: true
systemd:
name: railgun-global-setup
enabled: false
daemon_reload: true
- name: global-postup systemd enable
become: true
systemd:
name: railgun-global-setup
enabled: true
daemon_reload: true
- name: remove a rubbish
file:
path: /etc/systemd/system/mutli-user.target.wants
state: absent
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 to comment