展示を参照してください。 IT チームは、ソフトウェア エンジニアが使用できるように新しい Linux 仮想マシンを導入しました。しかし、エンジニアは Bash を使用してサービスを構成することに慣れていません。Ansible プレイブックによって自動化されるワークフローはどれですか。
正解:A
The Ansible playbook in the exhibit consists of two stages: * Stage 1: Restarts the network service on the eth0 interface. * Stage 2: Starts the httpd service. * Stage 1: - name: stage1 ansible.builtin.service: name: network state: restarted args: eth0 This stage ensures that the network service on the eth0 interface is restarted. * Stage 2: - name: stage2 ansible.builtin.service: name: httpd state: started This stage ensures that the httpd service is started if it is not already running. References: * Ansible Playbook Documentation: Ansible Service Module