ansible ã§å¯¾è±¡ãµã¼ããåèµ·åããæ¹æ³ã調ã¹ã¦ã¿ãã ãAnsibleã®äºä¾ã¨ã¡ãã£ã¨ããTipsããåèã«ãã¨ãããçã丸åããªã®ã ãããããããªãã¯ããã¯ã使ããã¦ããã ãã¬ã¤ããã¯ä½æ reboot.os.yml ãä½æããã --- - hosts: '{{ hosts }}' tasks: - name: test connection (before reboot) ping: - name: reboot! command: shutdown -r now - name: wait for SSH port down local_action: wait_for host={{ inventory_hostname }} port=22 state=stopped - name: wait for SSH port up wait_for: host={{ inven
{{#tags}}- {{label}}
{{/tags}}