Retourner au contenu associé (sondage : Pour redémarrer un service, vous êtes plutôt ?)
Posté par yannig (site web personnel) le 30 janvier 2018 à 13:19. En réponse au sondage Pour redémarrer un service, vous êtes plutôt ?. Évalué à 2.
Pour Apache, ça donne ça :
ansible -m service -a "state=restarted name=httpd" localhost
SystemD ou SYS V ? Peu importe, Ansible se débrouille tout seul en fonction du contexte.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# Avec Ansible bien sûr
Posté par yannig (site web personnel) . En réponse au sondage Pour redémarrer un service, vous êtes plutôt ?. Évalué à 2.
Pour Apache, ça donne ça :
ansible -m service -a "state=restarted name=httpd" localhostSystemD ou SYS V ? Peu importe, Ansible se débrouille tout seul en fonction du contexte.