Files
@ ea69b2719d8e
Branch filter:
Location: majic-ansible-roles/roles/preseed/playbook.yml - annotation
ea69b2719d8e
1.5 KiB
text/x-yaml
MAR-22: Implemented tests for the common role:
- Added missing documentation for pipreqcheck_uid and pipreqcheck_gid
parameters.
- Use static-hashed passwords for reproducibility during testing in test
playbook.
- Install Emacs and libmariadb-client-lgpl-dev-compat via test playbook on one
of the testing instances in order to test related tasks.
- Fixed parameter for connection limitting in test playbook.
- Added explicit parameters to test playbook for pipreqcheck_gid and
pipreqcheck_uid.
- Fixed deployment of ferm configuration file ot include setting user/group and
mode.
- Added tests covering common deployment, deployment when only mandatory
parameters are provided, and deployment when optional parameters are set as
well.
- Added missing documentation for pipreqcheck_uid and pipreqcheck_gid
parameters.
- Use static-hashed passwords for reproducibility during testing in test
playbook.
- Install Emacs and libmariadb-client-lgpl-dev-compat via test playbook on one
of the testing instances in order to test related tasks.
- Fixed parameter for connection limitting in test playbook.
- Added explicit parameters to test playbook for pipreqcheck_gid and
pipreqcheck_uid.
- Fixed deployment of ferm configuration file ot include setting user/group and
mode.
- Added tests covering common deployment, deployment when only mandatory
parameters are provided, and deployment when optional parameters are set as
well.
da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 da27c590e954 | ---
- hosts: parameters-mandatory
roles:
- role: preseed
- hosts: parameters-optional
roles:
- role: preseed
ansible_key: CUSTOMKEY
preseed_country: RS
preseed_directory: /tmp/custom_preseed_files_location
preseed_dns: 1.1.1.1
preseed_domain: example.com
preseed_gateway: 2.2.2.2
preseed_hostname: testing
preseed_ip: 3.3.3.3
preseed_keymap: sv
preseed_language: sr
preseed_locale: en_UK.UTF-8
preseed_mirror_directory: /
preseed_mirror_hostname: ftp.de.debian.org
preseed_mirror_proxy: http://proxy.local
preseed_netmask: 255.255.0.0
preseed_network_auto: no
preseed_network_interface: eth1
preseed_root_password: myrootpassword
preseed_timezone: Europe/Belgrade
- hosts: parameters-optional-with-overrides
roles:
- role: preseed
preseed_directory: /tmp/custom_preseed_files_location
ansible_key: CUSTOMKEY
preseed_server_overrides:
parameters-optional-with-overrides:
country: RS
dns: 1.1.1.1
domain: example.com
gateway: 2.2.2.2
hostname: testing
ip: 3.3.3.3
keymap: sv
language: sr
locale: en_UK.UTF-8
mirror_directory: /
mirror_hostname: ftp.de.debian.org
mirror_proxy: http://proxy.local
netmask: 255.255.0.0
network_auto: no
network_interface: eth1
root_password: myrootpassword
timezone: Europe/Belgrade
|