설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mqtt_admin.yml 681B

123456789101112131415161718
  1. - name: Create temporary mqtt-admin directory
  2. file: state=directory path=/root/mqtt-admin
  3. - name: Download mqtt-admin {{ mqtt_admin_version }} release
  4. get_url:
  5. url="{{ mqtt_admin_release }}"
  6. dest=/root/mqtt-admin/mqtt-admin-{{ mqtt_admin_version }}.zip
  7. - name: Decompress mqtt-admin release
  8. unarchive: src=/root/mqtt-admin/mqtt-admin-{{ mqtt_admin_version }}.zip
  9. dest=/root/mqtt-admin/ copy=no
  10. creates=/root/mqtt-admin/mqtt-admin
  11. - name: Create mqtt-admin webserver directory
  12. file: state=directory path=/var/www/mqtt-admin
  13. - name: Copy mqtt-admin to webserver directory
  14. shell: cp -R /root/mqtt-admin/mqtt-admin/* /var/www/mqtt-admin