proyectos:linuxservidor-adm-ansible
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
proyectos:linuxservidor-adm-ansible [2020/08/30 04:20] – manuel.floresv | proyectos:linuxservidor-adm-ansible [2020/09/22 14:26] (actual) – manuel.floresv | ||
---|---|---|---|
Línea 15: | Línea 15: | ||
==== Crear archivo hosts ==== | ==== Crear archivo hosts ==== | ||
<code bash > | <code bash > | ||
- | echo "[motioneye]" >> hosts | + | echo "[MotionEye]" >> hosts |
echo " | echo " | ||
</ | </ | ||
Línea 27: | Línea 27: | ||
ansible-playbook | ansible-playbook | ||
</ | </ | ||
+ | |||
+ | ===== Ejemplo de instalación de motioneye ===== | ||
+ | |||
+ | Aca esta el instructivo que se tradujo https:// | ||
+ | |||
+ | <code yaml> | ||
+ | --- | ||
+ | - hosts: MotionEye | ||
+ | remote_user: | ||
+ | tasks: | ||
+ | - name: Install latest versions of motion dependencies libraries ffmpeg, | ||
+ | apt: name=ffmpeg, | ||
+ | - name: Download motioneye deb | ||
+ | get_url: | ||
+ | - name: Install a pi_buster_motion_4.2.2-1_armhf.deb package | ||
+ | apt: deb=/ | ||
+ | - name: Install lates versions of motioen eye dependencies python-pip, | ||
+ | apt: name=python-pip, | ||
+ | - name: Install motioneye via pip | ||
+ | pip: name=motioneye | ||
+ | - name: Creating / | ||
+ | file: path=/ | ||
+ | - name: Create the motioneye.conf | ||
+ | copy: | ||
+ | src=/ | ||
+ | dest=/ | ||
+ | remote_src=yes | ||
+ | owner={{ ansible_ssh_user }} | ||
+ | group={{ ansible_ssh_user }} | ||
+ | - name: Creating / | ||
+ | file: path=/ | ||
+ | - name: Install | ||
+ | copy: | ||
+ | src=/ | ||
+ | dest=/ | ||
+ | remote_src=yes | ||
+ | owner={{ ansible_ssh_user }} | ||
+ | group={{ ansible_ssh_user }} | ||
+ | - name: Restart the motioneye systemd service | ||
+ | systemd: | ||
+ | enabled=yes | ||
+ | state=started | ||
+ | daemon_reload=yes | ||
+ | name=motioneye | ||
+ | </ | ||
+ | |||
+ | ==== Referencias ==== | ||
+ | * https:// | ||
+ | * | ||
proyectos/linuxservidor-adm-ansible.1598761219.txt.gz · Última modificación: por manuel.floresv