symlink.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ---
  2. - name: install ceph scripts
  3. template:
  4. src: ceph.sh.j2
  5. dest: /opt/yunion/bin/ceph.sh
  6. mode: '0755'
  7. - name: install openvswitch scripts
  8. template:
  9. src: ovs.sh.j2
  10. dest: /opt/yunion/bin/ovs.sh
  11. mode: '0755'
  12. - name: install ceph
  13. file:
  14. src: /opt/yunion/bin/ceph.sh
  15. dest: /usr/local/bin/ceph
  16. state: link
  17. force: yes
  18. become: true
  19. - name: install ceph-14
  20. file:
  21. src: /opt/yunion/bin/ceph.sh
  22. dest: /usr/local/bin/ceph-14
  23. state: link
  24. force: yes
  25. become: true
  26. - name: install ceph-16
  27. file:
  28. src: /opt/yunion/bin/ceph.sh
  29. dest: /usr/local/bin/ceph-16
  30. state: link
  31. force: yes
  32. become: true
  33. - name: install ceph-18
  34. file:
  35. src: /opt/yunion/bin/ceph.sh
  36. dest: /usr/local/bin/ceph-18
  37. state: link
  38. force: yes
  39. become: true
  40. - name: install ovs-vsctl
  41. file:
  42. src: /opt/yunion/bin/ovs.sh
  43. dest: /usr/local/bin/ovs-vsctl
  44. state: link
  45. force: yes
  46. become: true
  47. - name: install ovs-ofctl
  48. file:
  49. src: /opt/yunion/bin/ovs.sh
  50. dest: /usr/local/bin/ovs-ofctl
  51. state: link
  52. force: yes
  53. become: true
  54. - name: install ovs-appctl
  55. file:
  56. src: /opt/yunion/bin/ovs.sh
  57. dest: /usr/local/bin/ovs-appctl
  58. state: link
  59. force: yes
  60. become: true