责任角色-责任角色

ansible-role-chron的Python项目详细描述


管理Chrony的角色

角色变量

Variables used for chrony
NameDefault ValueDescription
chrony_debugFalseEnable debug option in chrony
chrony_role_actionallAnsible action when including the role. Should be one of: [all|install|config|upgrade]
chrony_package_namechronychrony system package name
chrony_service_namechronydchrony system service name
chrony_manage_serviceTrueFlag used to specific if the ansible role should manage the service
chrony_manage_packageTrueFlag used to specific if the ansible role should manage the package
chrony_service_statestartedDefault service state to configure (started|stopped)
chrony_config_file_location/etc/chrony.confChrony configuration file location.
chrony_driftfile_path/var/lib/chrony/driftChrony drift file location
chrony_logdir_path/var/log/chronyChrony log directory location
chrony_ntp_servers[]List of NTP servers. This can be a list of hashes for advanced configuration. If using the hash format, a server_name and server_settings key should be populated with the appropriate data. If this is a list of hostnames, the chrony_global_server_settings will be appended to the configuration.
chrony_global_server_settings<none>Default setting to apply to the servers configuration
chrony_ntp_pools[]List of NTP pools. This can be a list of hashes for advanced configuration. If using the hash format, a pool_name and pool_settings key should be populated with the appropriate data. If this is a list of hostnames, the chrony_global_pool_settings will be appended to the configuration.
chrony_global_pool_settings<none>Default setting to apply to the pools configuration
chrony_ntp_peers[]List of NTP peers. This can be a list of hashes for advanced configuration. If using the hash format, a peer_name and peer_settings key should be populated with the appropriate data. If this is a list of hostnames, the chrony_global_peer_settings will be appended to the configuration.
chrony_global_peer_settings<none>Default setting to apply to the peers configuration
chrony_bind_addresses[‘127.0.0.1’, ‘::1’]List of addresses to bind to to listen for command packets
chrony_acl_rules[]List of specific allow/deny commands for the configuration file
chrony_rtc_settings[‘rtcsync’]List of specific real time lock settings
chrony_makestep1.0 3The chrony makestep configuration
chrony_extra_options[]A list of extra option strings that is added to the end of the configuraiton file. This list is joined with new lines.

要求

  • ansible >= 2.4
  • python >= 2.6

依赖关系

手册示例

- hosts: localhost
  become: true
  roles:
    - chrony

许可证

阿帕奇2.0

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
如何将图像写入文件–Java ImageIO   spring无法获取连接,数据源无效:“java.sql.SQLException:找不到适合数据源的驱动程序”   java错误,请在hs_err_pidXXX中输入信息。JVM崩溃时的日志文件   java任何人在resteasy中都会遇到不可用的根路径吗   java JPA元模型和实体类   java在jhipster应用程序上找不到symbol:class SparkReporter   java向前看下一个地图条目   java单个泛型参数同时接受两种不同的类型   java无法通过KAFKA api连接到EventHub   Java swing JPanel将数据从Textarea保存到字符串变量   java“downloadmavenplugin”可下载多个文件并重新定位输出目录   java单例类与静态方法和字段?   java多线程Spring事务   没有片段的java滑动菜单   java在swing中,是否可以在paintComponent()中找到JPanel的宽度和高度属性?   使用ProcessBuilder使用交互式IO运行java C程序   javajavax。imageio。IIOException:无法在Tomcat 9、OpenJDK 11和Geoserver中创建ImageInputStream   java对整数使用哈希集