From 07c9d558d424c4b098012d80267a22b29bf80a1b Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Sat, 16 Mar 2024 19:48:59 +0000 Subject: [PATCH] arg spec update --- .pre-commit-config.yaml | 26 +++++++++++++------------- meta/argument_specs.yml | 29 ++++++++++++++++++++++++++++- 2 files changed, 41 insertions(+), 14 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6e4c247..e0fc2d8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,15 +9,26 @@ # You should have received a copy of the GNU General Public License along with the Webarchitects Apache Ansible role. If not, see <https://www.gnu.org/licenses/>. --- repos: + - repo: https://github.com/ansible/ansible-lint.git + rev: v24.2.1 + hooks: + - id: ansible-lint + name: Ansible Lint + language: python + additional_dependencies: + # https://github.com/kellyjonbrazil/jc/releases + - jc==1.25.1 + # https://github.com/jmespath/jmespath.py/tags + - jmespath==1.0.1 # https://github.com/jackdewinter/pymarkdown/releases - repo: https://github.com/jackdewinter/pymarkdown.git - rev: 0.9.16 + rev: v0.9.17 hooks: - id: pymarkdown name: Markdown Lint # https://github.com/adrienverge/yamllint/tags - repo: https://github.com/adrienverge/yamllint.git - rev: v1.34.0 + rev: v1.35.1 hooks: - id: yamllint name: YAML Lint @@ -30,15 +41,4 @@ repos: args: - templates # https://github.com/ansible/ansible-lint/releases - - repo: https://github.com/ansible/ansible-lint.git - rev: v24.2.0 - hooks: - - id: ansible-lint - name: Ansible Lint - language: python - additional_dependencies: - # https://github.com/kellyjonbrazil/jc/releases - - jc==1.25.0 - # https://github.com/jmespath/jmespath.py/tags - - jmespath==1.0.1 ... diff --git a/meta/argument_specs.yml b/meta/argument_specs.yml index 96a53aa..1f495ee 100644 --- a/meta/argument_specs.yml +++ b/meta/argument_specs.yml @@ -34,6 +34,15 @@ argument_specs: type: bool required: false description: Chroot Apache. + apache_conf_available_paths: + type: dict + required: false + description: Internal variable for the results of finding .conf files in /etc/apache2/conf-available. + apache_conf_available: + type: list + elements: str + required: false + description: Internal variable for the Apache conf available. apache_conf_disabled: type: list elements: str @@ -100,6 +109,15 @@ argument_specs: type: str required: false description: The version of mod_md to install. + apache_mods_available_paths: + type: dict + required: false + description: Internal variable for the results of finding .conf files in /etc/apache2/mods-available. + apache_mods_available: + type: list + elements: str + required: false + description: Internal variable for the Apache mods available. apache_mods_disabled: type: list elements: str @@ -196,6 +214,15 @@ argument_specs: - Minor - OS - Prod + apache_sites_available_paths: + type: dict + required: false + description: Internal variable for the results of finding .conf files in /etc/apache2/sites-available. + apache_sites_available: + type: list + elements: str + required: false + description: Internal variable for the Apache sites available. apache_sites_disabled: type: list elements: str @@ -233,7 +260,7 @@ argument_specs: apache_ulimit: type: int required: true - description: The maximun number of files Apache can open, used for the APACHE_ULIMIT_MAX_FILES env var. + description: The maximum number of files Apache can open, used for the APACHE_ULIMIT_MAX_FILES env var. apache_update_alternatives_query_php: type: dict required: false -- GitLab