Commit b0b91918 authored by nanahira's avatar nanahira

fix become

parent 37cae6ea
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
copy: copy:
content: | content: |
[Unit] [Unit]
Description=Railgun Router Global Setup Description=MyCard Network Global Setup
Before=network-online.target Before=network-online.target
After=network-pre.target After=network-pre.target
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
WantedBy=mutli-user.target WantedBy=mutli-user.target
dest: /etc/systemd/system/railgun-global-setup.service dest: /etc/systemd/system/railgun-global-setup.service
register: global_systemd_result register: global_systemd_result
- name: systemd - name: global-postup systemd enable
become: global-postup systemd enable become: true
systemd: systemd:
name: railgun-global-setup name: railgun-global-setup
enabled: true enabled: true
......
#!/usr/bin/env bash #!/usr/bin/env bash
# Forced update 12.14 # Forced update 12.16
source {{ansible_user_dir}}/nextgen-network/scripts/utility.sh source {{ansible_user_dir}}/nextgen-network/scripts/utility.sh
echo "running" > /tmp/mycard_global_postup_done echo "running" > /tmp/mycard_global_postup_done
......
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