This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
сервис_ansible [2020/10/27 14:13] val |
сервис_ansible [2020/11/03 13:11] val [Использование ролей] |
||
---|---|---|---|
Line 288: | Line 288: | ||
- name: Restart system | - name: Restart system | ||
- | command: shutdown -r +1 | + | reboot: |
</code><code> | </code><code> | ||
# cat host/templates/hostname.j2 | # cat host/templates/hostname.j2 |