User Tools

Site Tools


сервис_ansible

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
сервис_ansible [2023/03/20 20:23]
val [ansible-pull]
сервис_ansible [2023/03/21 21:33]
val [ansible-pull]
Line 665: Line 665:
 client3:~# ansible-pull -U http://​gate.corp13.un/​user1/​ansible-pull-gpo.git client3:~# ansible-pull -U http://​gate.corp13.un/​user1/​ansible-pull-gpo.git
 </​code>​ </​code>​
- 
-  * Инструмент GitLab [[Инструмент GitLab#​Подключение через API]] 
- 
-  * [[Инструмент Gitea]] 
- 
 <​code>​ <​code>​
 client1:​~/​ansible-pull-gpo#​ cat start.sh client1:​~/​ansible-pull-gpo#​ cat start.sh
-</code><​code>​+#!/bin/bash
 echo -e "0 */2 * * * \ echo -e "0 */2 * * * \
-/​usr/​bin/​ansible-pull -s 90 -U http://​gate.corp13.un:3000/student/​ansible-pull-gpo.git\n\ +/​usr/​bin/​ansible-pull -s 120 -U http://​gate.corp13.un/​user1/​ansible-pull-gpo.git\n\ 
-@reboot sleep 1m; /​usr/​bin/​ansible-pull -U http://​gate.corp13.un:3000/student/​ansible-pull-gpo.git"​ | crontab -+@reboot sleep 1m; /​usr/​bin/​ansible-pull -U http://​gate.corp13.un/​user1/​ansible-pull-gpo.git"​ | crontab -
 </​code>​ </​code>​
 +
 +  * Инструмент GitLab [[Инструмент GitLab#​Подключение через API]]
  
 === Вариант 2 === === Вариант 2 ===
сервис_ansible.txt · Last modified: 2024/05/08 06:47 by val