|
branko
|
0c330b88956a
|
1 month ago
|
|
MAR-218: Switch to using task imports instead of includes:
- Should result in somewhat faster run, except the includes happen during planning phase. None of the changed includes will have problem with this. - Solves the issue of (included) imported tasks not being tagged properly, particularly in relation to the mechanism for explicitly running all handlers.
|
|
branko
|
0be45939fc2a
|
1 month ago
|
|
|
|
branko
|
c10934519e18
|
1 month ago
|
|
MAR-218: Switch to using fully-qualified collection names for all tasks:
- Ensures there is no ambiguity when invoking a module.
|
|
branko
|
7cabc17c71c3
|
1 month ago
|
|
MAR-218: Quote all octal values in YAML files:
- Fixes linting errors, and ensures there is no ambiguity in case of YAML specification changes.
|
|
branko
|
a3d247bb2e09
|
1 month ago
|
|
MAR-218: Update noqa directives for ansible-lint to use text tags:
- Numeric tagging is deprecated.
|
|
branko
|
6d61ce0ca2c9
|
1 month ago
|
|
|
|
branko
|
3802c52995e5
|
1 month ago
|
|
MAR-218: Fix include invocations:
- The old include keyword/task has been deprecated in favour of more explicit include_tasks one.
|
|
branko
|
f4772b5c7f3a
|
7 months ago
|
|
MAR-192: Fix incorrect prompt for wsgi_website virtual environments:
- Ensure that the virtualenv indicator string ends with a whitespace. - The virtualenv prompt parameter behaves slightly different between the versions of Debian 11 Bullseye and Debian 12 Bookworm - the former being a bit more user-friendly. - Recreate virtual environment if the prompt does not match-up.
|
|
branko
|
8457949f27d4
|
8 months ago
|
|
MAR-154: Improve incorrect Python version handling in virtual environments:
- This should be helpful when performing distribution upgrades as well (since it should be able to automatically detect a mismatch now).
|
|
branko
|
7f4f7163ae31
|
8 months ago
|
|
MAR-154: Drop suppor for Python 2.7 from the wsgi_website role:
- Mostly a matter of dropping the Python version parameter, and updating some package versioning to account for Python 3 only.
|
|
branko
|
686083d16102
|
8 months ago
|
|
MAR-191: Drop support for Debian 11 Buster from the wsgi_website role:
- Get rid of the workaround that used to cause issues in some of the previous versions of Debian while at it. This should no longer pose an issue.
|
|
branko
|
38c3569bdc6a
|
4 years ago
|
|
MAR-151: Added support for Debian 10 Buster to wsgi_website role:
- Updated role reference documentaiton. - Updated role meta information. - Updated tests. - Replace the installation of libmariadbclient-dev-compat library with atftp - the actual package is differently named under Debian Stretch and Debian Buster (which would complicate the test without any benefits). - Drop the fix for root mail alias in Vagrant image - seems it's no longer a problem. - Split-up the test for web application user since it's not possible to keep it all under one parametrised test due to differences in assigned system UID numbers for Debian Stretch and Debian Buster. - Make the test for web application user less dependant on what the actual UID number is in case of default value. By default user should be created as system user, which means its UID number should be less than 1000.
|
|
branko
|
0bc967a67750
|
4 years ago
|
|
MAR-163: Reformat multiple skip-QA directives and remove some unnecessary ones:
- Update codes used to identify the disabled QA checks. - Switch to using new syntax that disables only a specific QA check instead of all of them on a single task. - Drop disabling QA checks related to octal file permissions (this was most likely bug in older versions of ansible-lint).
|
|
branko
|
945973223a21
|
4 years ago
|
|
MAR-163: Reformat skip-QA directives for ANSIBLE0012 (Commands should not change things if nothing needs doing):
- Update codes used to identify the disabled QA checks. - Switch to using new syntax that disables only a specific QA check instead of all of them on a single task. - Drop disabling QA checks on two command tasks, since they actually use the "creates" directive (therefore passing the QA check).
|
|
branko
|
3f7b6eade8d7
|
4 years ago
|
|
MAR-177: Do not pin pip/setuptools to specific versions when setting up Python virtual environment:
- Provided more details for the pkg-resources workaround. - Skip installing latest version of pip - it will get installed automatically via the virtualenv command already. - Do not pin the setuptools package when installing. - Updated release notes.
|
|
branko
|
dabe2c541877
|
4 years ago
|
|
|
|
branko
|
b78c1bbbcbba
|
4 years ago
|
|
MAR-159: Drop the use futures_version and gunicorn_version parameters from the wsgi_website role:
- Remove related tasks, Gunicorn/Futures should instead be installed via the requirements file instead. - Restructure tasks, moving them from the requirements.yml into main.yml. - Small typo fix for one of the variables.
|
|
branko
|
b7de8e615ffd
|
4 years ago
|
|
|
|
branko
|
2a25735ccfae
|
5 years ago
|
|
MAR-148: Fixed Ansible warnings for wsgi_website role:
- Use the length filter for conditionals that involve lists.
|
|
branko
|
9f0f315631e4
|
5 years ago
|
|
MAR-148: Fixing linting errors:
- Do not compare against booleans when value is already boolean in "when" conditions. - Do not compare variables to empty strings in "when" conditions. This change currently works only for complex variables (stuff can break badly in case of simple variables in current default Ansible configuration).
|
|
branko
|
a20ca43cd967
|
6 years ago
|
|
MAR-134: Fix Ansible warning about use of apt and with_items:
- The apt module can accept list of names already, and with_items is considered to be deprecated in this regard (otherwise it would end-up running one apt command per item). - Changed multiple roles where apt was used together along with_items.
|
|
branko
|
99b809cfeeb2
|
6 years ago
|
|
|
|
branko
|
9281920d0c23
|
6 years ago
|
|
MAR-135: Switch to using run_handlers instead of handlers as variable:
- Updated all roles to now depend on run_handlers being set to True in order to force execution of handlers.
|
|
branko
|
a5d38f30094b
|
6 years ago
|
|
MAR-132: Workarounds for wsgi_website Python virtual environment in Debian Stretch:
- Manually install setuptools in Python virtual environment on Debian Stretch, otherwise the pkg-resources==0.0.0 package will mess with pip freeze etc. - Add back installation of futures package, even on Python 3 (since it does not cause any harm). - A small cleanup of how requirements are treated will be done in separate ticket.
|
|
branko
|
f05151d6f802
|
6 years ago
|
|
MAR-132: Added support for Debian 9 (Stretch) to wsgi_website role:
- Set the shell for application system account explicitly (workaround for Debian bug 865762 in Stretch). - Updated Molecule tests to cover Debian 9. - Updated Molecule test preparation playbook to account for a number of differences between Jessie and Stretch (mainly related to mailing functionality). - Renamed a couple of variables in test for sending out mails to make it clearer what is being looked up as part of regex matching. - Updated Molecule tests where certain paths depend on what Debian release they are ran against. - Split-up Jessie-specific tests into separate file. - Remove the /bin/ss utility instead of renaming it (testinfra socket tests do not work with /bin/ss).
|
|
branko
|
71bc6c4991f8
|
6 years ago
|
|
|
|
branko
|
1bf64c5d02ff
|
6 years ago
|
|
|
|
branko
|
c8d4251a6ea5
|
6 years ago
|
|
MAR-131: Added support for specifying Python version in wsgi_website role:
- Introduced additional role parameter for specifying the Python version. - Updated tests to verify new functionality. - Fixed existing tests to account for differences between Python 2 and Python 3 - including changes to WSGI test applications. - Updated documentation, documenting new parameter and fixing one minor typo. - Updated release notes. - Bumped default version of Gunicorn/futures used.
|
|
branko
|
3e8b17e9a7da
|
6 years ago
|
|
MAR-129: Fixed installation of packages in virtualenv for wsgi_website role:
- Make sure packages are only installed if they are defined.
|
|
branko
|
b5ed796b566a
|
6 years ago
|
|
MAR-129: Updated wsgi_website role for Ansible 2.5.x and new Molecule:
- Include top-level linting configuration in test configuration file. - Fixed linting errors. - Updated Ansible deprecation warnings related to use of state=installed with apt module. - Updated how hosts are being referenced in tests. - Rename the 'ss' utility in order to properly test socket connectivity as a workaround for Testinfra bug.
|
|
branko
|
74b1cab547fc
|
7 years ago
|
|
MAR-122: Fixed handling of complex package versions for pip with Ansible 2.x:
- Use list for installing specific version of pip in the "pipreqcheck" virtual environment in common role. - Removed superficious (and incorrect) definition for application admin username in wsgi_website role. - Updated test playbook for wsgi_website role to test the fix. - Switched to passing-in package list for installing packages in virtual environment instead of using "with_items" in wsgi_website role.
|
|
branko
|
480828d2ad47
|
7 years ago
|
|
MAR-118: Replaced handler with parametrised name in wsgi_website:
- Updated wsgi_website role. - Replaced handler with parametrised name used for restarting a single service with a generic handler that will restart zero or more services. - Updated test site roles to introduce explicit handler in them. - Updated usage instructions to include set-up of explicit handler for restarting the Wiki service.
|
|
branko
|
0f24d5b272f5
|
7 years ago
|
|
MAR-114: Updated task syntax for web server/application roles:
- Updated web_server, php_website, and wsgi_website roles. - Added and removed quoting where it makes sense. - Switched to using expanded syntax (instead of one-liners). - Updated ordering of arguments in task definitions.
|
|
branko
|
eba5d5d69e4f
|
7 years ago
|
|
MAR-114: Moved set_fact for wsgi_website and php_website roles:
- Moved set_fact for setting application admin, user, and home directory into defaults/main.yml. - Updated test playbook for wsgi_website to fixate the ptpython and dnspython versions (including their dependencies). - Updated tests for wsgi_website to use new fixated versions for ptpython, dnspython, and their dependencies.
|
|
branko
|
998aab91d6b4
|
7 years ago
|
|
MAR-33: Implemented tests for the wsgi_website role:
- Updated test playbook to have better coverage of functionality. - Fixed some additional permission mode issues (leading zero). - Use expanded syntax for deploying TLS material in order to avoid mangling of TABs. - Implemented proper WSGI applications in order to test everything. - Implemented tests covering mandatory parameters, optional parameters, and the use of WSGI requirements/Paster.
|
|
branko
|
b68d19ad38a3
|
7 years ago
|
|
MAR-33: Added initial scaffolding for wsgi_website tests:
- Added Molecule configuration file. - Implemented test playbook that sets-up three separate instances of WSGI website in order to test all variations of parameters. - Added name for the set_fact task. - Fixed linting errors related to mode that lacks leading zero. - Added skip_ansible_lint tag for command that creates the Python virtual environment. - Added missing become keyword wherever become_user is specified. - Fixed invalid parameter name for specifying if HTTPS should be enforced or not. - Added small initial sample WSGI apps that get deployed. - Added static/media sample files. - Added TLS material. - Added initial dummy test file.
|
|
branko
|
d9ba7498c212
|
7 years ago
|
|
|
|
branko
|
aa2802e42d9d
|
7 years ago
|
|
|
|
branko
|
4a3c8915f967
|
8 years ago
|
|
|
|
branko
|
b757d690af42
|
8 years ago
|
|
|
|
branko
|
db91799cc8fa
|
8 years ago
|
|
|
|
branko
|
e15b53d59517
|
8 years ago
|
|
|
|
branko
|
a40cf7a468ea
|
8 years ago
|
|
|
|
branko
|
9f9dbcb79909
|
8 years ago
|
|
|
|
branko
|
96b84032cb00
|
8 years ago
|
|
|
|
branko
|
3af07319e2f3
|
8 years ago
|
|
|
|
branko
|
922cda0a1834
|
8 years ago
|
|
|
|
branko
|
5a15eda01800
|
8 years ago
|
|
|
|
branko
|
7387caca37f3
|
8 years ago
|
|
|
|
branko
|
18cd76ec050d
|
8 years ago
|
|
|
|
branko
|
0bab7aaa84d6
|
9 years ago
|
|
|
|
branko
|
a77fff9fcd91
|
9 years ago
|
|
|
|
branko
|
ed37f9854bfb
|
9 years ago
|
|
|
|
branko
|
d26fe0368a4b
|
9 years ago
|
|
|
|
branko
|
9fa438ee34c0
|
9 years ago
|
|
|
|
branko
|
981584549895
|
9 years ago
|
|
|