Commit 372ff44a authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Run vifib-startup after reboot

  This may load kvm and so chmod 666 for /dev/kvm on start up
parent bf5daff2
Pipeline #1789 skipped
......@@ -28,3 +28,6 @@
- name: Increase ulimit
shell: echo "TODO"
- name: Set Cron
cron: name="Launch Startup with ansible" special_time=reboot job='cd /opt/upgrader/playbook && ansible-playbook vifib-startup.yml -i hosts 2>>/opt/upgrader/startup.log >> /opt/upgrader/startup.log'
- name: a play that runs entirely on the ansible host
hosts: 127.0.0.1
connection: local
vars_files:
- settings/vifib.yml
roles:
- vifib-server
......@@ -24,6 +24,6 @@
- { role: re6stnet, package_state: present }
- { role: slapos, package_state: present }
- { role: package, package_name: ntp, package_state: present }
- vifib-server
- vifib-team-ssh-key
- upgrader
- vifib-server
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