main.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # Copyright 2022 Dell Inc. or its subsidiaries. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. ---
  15. # Usage: check_prerequisites.yml
  16. return_status: 200
  17. server_file: "{{ role_path }}/files/.ipavars.yml"
  18. file_mode: '0644'
  19. # Usage: firewall_settings.yml
  20. https_port1: "80/tcp"
  21. https_port2: "443/tcp"
  22. ldap_port1: "389/tcp"
  23. ldap_port2: "636/tcp"
  24. kerberos_port1: "88/tcp"
  25. kerberos_port2: "464/tcp"
  26. kerberos_port3: "88/udp"
  27. kerberos_port4: "464/udp"
  28. dns_port1: "53/tcp"
  29. dns_port2: "53/udp"
  30. dt_port1: "7389/tcp"
  31. ntp_port1: "123/udp"
  32. # Usage: enable_dnf_module.yml
  33. os_supported_centos: "centos"
  34. os_supported_rocky: "rocky"
  35. # Usage: install_packages.yml
  36. ipa_server_packages:
  37. - bind
  38. - bind-dyndb-ldap
  39. - ipa-server-dns
  40. - freeipa-server
  41. # Usage: install_ipa_server.yml
  42. resolv_conf_path: /etc/resolv.conf
  43. temp_resolv_conf_path: /tmp/resolv.conf
  44. ms_ipa_admin_username: admin
  45. # Usage: ipa_configuration.yml
  46. sysadmin_sudo_rule: sysadmin_sudo
  47. sysadmin_sudo_rule_description: "Allow users to run sudo commands"
  48. sysadmin_user_group: sysadmin
  49. sysadmin_group_description: "User group with sudo permission"
  50. # Usage: session_timeout.yml
  51. sshd_conf_file: /etc/ssh/sshd_config
  52. # Usage: configure_alerting.yml
  53. mail_packages:
  54. - mailx
  55. - postfix
  56. # Usage: install_snoopy.yml
  57. snoopy_packages:
  58. - gcc
  59. - gzip
  60. - make
  61. - procps
  62. - socat
  63. - tar
  64. - wget
  65. snoopy_mode: 0755
  66. snoopy_url: https://github.com/a2o/snoopy/raw/install/install/install-snoopy.sh
  67. snoopy_path: /var/lib
  68. # Usage: user_monitor.yml
  69. psacct: psacct
  70. acct: acct
  71. # Usage: install_389ds.yml
  72. ds389_packages:
  73. - 389-ds
  74. - db48-utils
  75. - python3-argcomplete
  76. ldap1_search_key: "No such instance"
  77. ds389_pwpolicy_search_key: "passwordlockoutduration: {{ lockout_duration }}"
  78. sssd_install_search_key: running
  79. ldap1_config_path: "{{ role_path }}/files/ldap1.inf"
  80. ldap_instance: ldap1
  81. ldap1_output_path: /var/log/ldap1_output.txt
  82. ldap_services:
  83. - ldap
  84. - ldaps
  85. dsrc_path: /root/.dsrc
  86. kerberos_packages:
  87. - krb5
  88. - krb5-server
  89. - krb5-client
  90. kerberos_principal_path: /var/lib/kerberos/krb5kdc/principal
  91. kerberos_conf_path: /etc/krb5.conf
  92. kerberos_env_path: /usr/lib/mit/sbin/
  93. sssd_packages:
  94. - sssd
  95. - sssd-ldap
  96. admin_group_name: server_admins
  97. sssd_file_mode: 0600
  98. sssd_config_path: /etc/sssd/sssd.conf
  99. # Usage: restrict_nonessentials.yml
  100. service_status: ['enabled','alias','static','indirect','enabled-runtime','active','inactive']