1. system_roles的官方文檔的位置是___________________________________;
2. system_roles的官方文檔的位置是___________________________________;
3. system_roles的官方文檔的位置是___________________________________;
4. 安裝rhel-system-roles的命令是_____________________________;
5. 安裝rhel-system-roles的命令是_____________________________;
6. 安裝rhel-system-roles的命令是_____________________________;
7. 對于ansible.cfg這個配置文件,建議的改動是______________________;
8. 對于ansible.cfg這個配置文件,建議的改動是______________________;
9. 對于ansible.cfg這個配置文件,建議的改動是______________________;
10. rhel-system-roles:使用timesync這個系統role,使用的授時服務器是rhgls.domain10.example.com,并啟用iburst參數;
11. rhel-system-roles:使用selinux這個系統role,設置所有受控主機的selinux狀態為enforcing;
1. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/automating_system_administration_by_using_rhel_system_roles/index
2. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/automating_system_administration_by_using_rhel_system_roles/index
3. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/automating_system_administration_by_using_rhel_system_roles/index
4. sudo dnf install rhel-system-roles
5. sudo dnf install rhel-system-roles
6. sudo dnf install rhel-system-roles
7. roles_path=roles:/usr/share/ansible/roles
8. roles_path=roles:/usr/share/ansible/roles
9. roles_path=roles:/usr/share/ansible/roles
10. /* A20240607.yaml */
---
- name: Play1
? hosts: all
? vars:
? ? timesync_ntp_servers:
? ? ? - hostname: rhgls.domain10.example.com
? ? ? ? iburst: yes
? roles:
? ? - rhel-system-roles.timesync
...
11. /* B20240607.yaml */
---
- name: Play1
? hosts: all
? vars:
? ? selinux_policy: targeted
? ? selinux_state: enforcing
? roles:
? ? - rhel-system-roles.selinux
...