RedHat运维-Ansible自动化运维基础22-rhel-system-roles

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
...

相关推荐

  1. RedHat-Ansible自动化基础22-rhel-system-roles

    2024-07-10 10:38:03       8 阅读
  2. Ansible自动化

    2024-07-10 10:38:03       39 阅读
  3. Ansible自动化

    2024-07-10 10:38:03       23 阅读
  4. Ansible自动化

    2024-07-10 10:38:03       21 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-10 10:38:03       4 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-10 10:38:03       5 阅读
  3. 在Django里面运行非项目文件

    2024-07-10 10:38:03       4 阅读
  4. Python语言-面向对象

    2024-07-10 10:38:03       4 阅读

热门阅读

  1. 深入浅出:Scikit-Learn基础教程

    2024-07-10 10:38:03       10 阅读
  2. python class

    2024-07-10 10:38:03       10 阅读
  3. 10.pwn ROP(栈溢出攻击的核心)

    2024-07-10 10:38:03       9 阅读
  4. sklearn基础教程

    2024-07-10 10:38:03       11 阅读
  5. 跨境支付新篇章:引领电商潮流

    2024-07-10 10:38:03       9 阅读
  6. CSS学习

    2024-07-10 10:38:03       7 阅读
  7. Unity 常用取整方法

    2024-07-10 10:38:03       10 阅读