- this project adheres to Semantic Versioning
v0.3.0 - 2022-10-03
scripts that automate the deployment of an AWX release and various other improvements
- fix syntax according to shellcheck
- define default values when variables is undefined
- add usage example and minor fix to shell-lint
- send messages to stderror on die
- define grant_inventory function as wrap of grant_inventory_use
- validate if ~/.awx-config is a text plain
- add DEFAULT_CREDENTIAL_TYPE and DEFAULT_CREDENTIAL_USER in config example
- add functions awx_cfg_read, config_read, dependencies_verify, config_verify and main
- remove debug on die, add conditional to show usage on error
- remove execution debug
- improve debug on die
- add debug in die
- enable debug
- fix undefined TERM
- define TERM when is undefined
- fixes according shell-lint
- add usage before exit on die call function
- add defaults grant permissions example config
- hide pass path when verify if exists
- replace admin with current user when generate example config
- prevent backslashes when read AWX_PASS
- replace /home/awx with current user home when generate config
- update examples in config and usage
- invoke pass command when PASSWORD_STORE_DIR is defined
- show environment, user and host before try connect
- inform when pass command not found
- invoke pass command only when pass command exists
- read Password when AWX_PASS is undefined or not found in pass
- allow overwrite config variables with environment variables
- update config example
- fix typo replace AWX_USER with SUPERUSER
- verify http status code, show more data when user is superuser
- remove ~/.tower_cli.cfg to prevent unauthorized access
- fix invalid ssh_key_data
- add example use of PASSWORD_STORE_DIR environment variable
- validate ssh key before use
- disable shellcheck SC2181
- create credential from pass or from file
- relete credential by name
- fix invalid ssh_key_data
- disable shellcheck SC2181
- modify existent credential from pass or from file
- update usage with defaults values of AWX_DIR, REVISION and CHANGELOG
- show diff when CHANGELOG already exists and return to previous branch
- define function changelog_generate to redirect stdout to CHANGELOG file
- add workflow in resources section
- mask credentials in GIT_URL
- define output file DIR_NAME-REVISION.md when CHANGELOG is undefined
- use current directory when DIR_NAME is undefined
- hide git checkout output
- use last tag when REVISION is undefined
- set -x when BASH_DEBUG is defined
- checkout revision when it is not a tag
- update usage, better variables defaults
- generate markdown output details of the specific revision
- delete all resources definined in deploy/update.awx
- prevent git pull when DONT_PULL when the environment variable is defined
- sort output using awx-deploy-sort
- add suffix .awx in OUT deploy file
- prevent execute git pull when revision is a tag
- update usage and example
- get git revision diff to generate deploy/update.awx
- prevent git pull when DONT_PULL when the environment variable is equal to 0
- add DONT_PULL, defaults in help and better error log
- generate deploy/grant.awx with default permissions
- verify job template documentacion and fail when not found by default (DOC_CHECK=1)
- replace hardcoded origin with ORIGIN variable when execute git reset --hard
- prevent execute git pull and git fetch --tags when DONT_PULL and DONT_FETCH_TAGS are enabled
- validate project version match with version defined in scm_branch
- validate project name match with project filename
- add git reset --hard when GIT_RESET_HARD_REVISION is defined
- add --all to git fetch
- replace git reset with git pull --allow-unrelated-histories to prevent error fatal: refusing to merge unrelated histories
- add git reset to prevent error fatal: refusing to merge unrelated histories
- set -x when BASH_DEBUG is defined
- remove sort to respect workflow deploy order defined in deploy file
- search and send workflows defined in deploy file
- fix jq syntax error when get scm_revision and scm_branch
- send teams defined in deploy
- define ORGANIZATION based on DEFAULT_ORGANIZATION
- grant permissions from a file to a team
- associate users to a team from file
- don't fail when deploy file not exists
- prevent execute git pull when revision is a tag
- exit immediately if a command exits with a non-zero status
- failing when the declared credential was not found
- replace commands to get inventory_source and inventory_name from json with direct jq invocation
- add die on failed (send|update) project, inventory and job_template
- fix execution inventory_source update with capture error
- update inventory_source after send inventory
- wrap awx-cli send to prevent errors
- replace PROJECT with PROJECT_NAME in project_update
- replace PROJECT_SOURCE with INVENTORY_SOURCE when send inventory dependency
- get and send inventory_source before send inventory
- add verbose in awx-cli send project
- always update project after send project
- add verbose log before execute awx-cli send
- send inventory from deploy/update.awx
- update project after send project
- remove AWX_DEBUG
- put AWX_DEBUG to end of command line
- use AWX_DEBUG as verbose option in awx-cli send
- allow overwrite DEPLOY_DIR with 'deploy' as default
- fail when ~/.tower_cli.cfg don't exists
- delete temporal debug
- replace awx-json-send-job-templates with awx-cli
- replace AWX_DEBUG with -vv in send project
- define AWX_DEBUG, calculate hash and show project
- remove debug and revert invalid logic
- add git log last commit and ls to current project
- add pwd and ls for debug
- fix json project file variable
- validate json exists before send project
- replace awx-json-send-projects with awx-cli send
- remove execution debug
- remove usage to debug execution
- enable bash debug
- send all JSONs defined in deploy/update.awx to AWX
- add workflow at the end of file sort
- remove trailing whitespace
- add team in sort list
- sort awx dependencies lines in a file
- define use as default permission
- update usage with example and set use as default permission
- fixes according shell-lint
- fixes according shell-lint
- fix syntax according to shellcheck
- add usage and fix syntax according to shellcheck
- update usage, fix syntax according to shellcheck, remove duplicated code, add validations
- add usage example, define use as default permission and fixes for shell-lint
- grant permissions from grant file to a team
- add usage and fix syntax according to shellcheck
- show YAML filename
- use
all
as default variable
- fix syntax according to shellcheck
- fix syntax according to shellcheck
- add example in usage and fix syntax according to shellcheck
- fix syntax according to shellcheck
- add awx_cfg_read to get login variables
- fix syntax according to shellcheck
- update usage and example
- use key=all to get all variables and allow inventory as the third argument
- align columns in usage example
- list all host in inventory in 3 columns
- install ansible tools dependencies using apt on Debian based distros
- fix syntax according to shellcheck and update usage
- delete inventory by name
- fix syntax according to shellcheck and update usage
- add usage, simplify key value, and fix syntax according to shellcheck
- add usage
- launch and monitor job with limit
- fix syntax according to shellcheck
- update usage with example, use additional variables and default credentials when defined
- delete template by name
- fix syntax errors according to shellcheck
- fix typo, replace WORKFLOW_JOB with JOB
- update usage with example
- add awx_cfg_read to get login variables
- get description of job template or workflow from json
- replace reserved variable GROUPS with variable TMP
- get name from inventory_source of inventory json file
- get inventory_source from inventory json file
- receive credential without secrets
- remove execution debug
- remove usage to debug execution
- add description and example in usage
- fix typo in awx-json-worklow-get-url
- show workflow nodes grouped by common nodes
- add awx_cfg_read to get login variables
- fix syntax according to shellcheck
- fix syntax according to shellcheck and update usage
- fix syntax according to shellcheck
- fix syntax according to shellcheck
- delete project by name
- fix error message when not found project
- fix syntax according to shellcheck
- update project when scm_revision don't match with last commit of current branch
- fix syntax according to shellcheck and filter job_template
- add example in usage, group errors by code in result
- fix syntax according to shellcheck and fix typo
- fix syntax according to shellcheck
- switch superuser permission
- convert AWX vault format to YAML format
- check if the AWX Vaults are unbalanced in the YAML file
- delete workflow by name
- fix syntax according to shellcheck
- add awx_cfg_read to get login variables
- compare and merge AWX group variables with local YAML group file
- add example in usage, refactor according Semantic Version
- exclude awx directory
- fix syntax according to shellcheck
- remove verbose temporal file generation in in awx-grant-filter
- add output example in awx-grant-filter
- add CSV example of ROLE_FILE in awx-grant-filter
- add awx_cfg_read to get login variables
- add example in usage
- hide commands on rules
- migrate syntax in .pre-commit-config.yaml
- add howto install dependencies
- improve vault generation in diferents formats
- delete variables in top level of yaml based on keys
- search variables values in yaml using keys file
- sort variables into yaml based on keys
- get role_name from meta/main.yml
- fixes according shell-linl
- sort YAML based on keys, allow STDIN use
v0.2.0 - 2021-12-31
happy gnu year with new scripts and lots of fixed scripts
- add awx-adhoc-shell-product-serial
- add test inventory hosts file
- add ssh_config function to generate minimal ssh config host
- add yaml_host_vars function to generate host vars yaml
- add json_get_asset_type function in json_is_inventory
- add json_get_asset_type parameter in json_is_workflow
- add json_get_asset_type parameter in json_is_job_template
- add json_get_asset_type parameter in json_is_project
- hide errors in json_get_asset_type
- update help in awx-host-associate
- fix INVENTORY option in awx-host-associate
- add function json_is_workflow
- add function json_is_job_template
- add function json_is_project
- add function json_get_asset_type
- define AWX_CFG_PASS and AWX_CFG_USER using awx_cfg_get function
- replace awx_cfg_get_host with awx_cfg_get general function
- add jq_modify_verbosity
- fix name in get_json_workflows
- add json_get_project
- add json_is_inventory
- refactor grant_workflow, add grant_workflow_execute
- refactor grant_job_template, add grant_job_template_execute and grant_job_template_admin
- refactor grant_project, add grant_project_use and grant_project_admin
- add support to use diferent pass repository in each environtment
- add awx-csv-host2all to generate ssh config, host_vars and inventory hosts from csv
- add awx-csv-host-versions2table
- exclude *.dat, .tar.gz, bak/
- add awx-grant-version
- add awx-grant-workflow-execute
- add grant_job_template_admin
- add awx-grant-project-admin
- add awx-group-diff-variables to compare and merge AWX group variables with local YAML group file
- better yaml output in awx-group-get-variable, sort variables, add header and fix vault
- remove title and code markdown output in awx-group-get-variable
- fix shellcheck syntax in awx-group-get-variable
- better help in awx-group-get-variable
- update awx-help.md
- update requirements-help.md
- shellchek fix
- add awx-host-vars2ssh-config to generate SSH config from host vars YAML file
- add awx-host-replace-ansible-host to replace ansible_host value with FQDN in host_vars YAML files of inventory
- add awx-host-get-last-job-summary to get summary fields last job executed in host
- better yaml output in awx-host-get-variable, sort variables, add header
- allow to use INVENTOR as environment variable (default as PREFIX from HOST)
- fix shellcheck syntax in awx-host-get-variable
- remove title and code markdown output in awx-host-get-variable
- add awx-host-list-inventory-group
- add awx-host-get-description
- add awx-host-get-csv
- add awx-json-inventory-get-csv
- better yaml output in awx-inventory-get-variable, sort variables, add header and fix vault
- fix shellcheck syntax in awx-inventory-get-variable
- remove title and code markdown output in awx-inventory-get-variable
- add awx-job-template-get-recent-jobs
- add awx-job-status
- add awx-job-overview
- add awx-json-inventory2all to generate hosts inventory and ssh config from inventory json
- add awx-json-inventory-group-subgroup-get-hosts to get hosts from subgroup of group of inventory json
- sort output in awx-json-inventory-group-get-hosts
- add awx-json-workflow-add-suffix
- add awx-json-job-template-add-suffix
- add awx-json-modify-verbosity
- add awx-json-inventory-get-variables
- add awx-json-get-playbook
- add awx-json-get-limit
- add awx-json-get-extra-vars
- fix calculate LEN and WIDTH for diff output in awx-json-rename
- add validation, fail on empty NEW_NAME in awx-json-rename
- update help in awx-json-rename
- fix undefined JSON in awx-json-inventory-get-groups
- add awx-log-version2png to generate awx-host-versions.dat to plot awx-hosts-versions.png
- add awx-log-host-get-data to get group, description, inventory_host and last job of awx_history_stdout in multiples job log files
- add awx-log-get-host-last-job to get last job of awx_history_stdout in job log
- add support to use diferent pass repository in each environtment
- add awx-plot-host-versions to plot histogram of last job awx history versions from awx-hosts-versions.dat
- add help in requirements-ssh2https, limit one git origin
- add awx-team-associate
- add awx-user-get
- add awx-workflow-job-get-hosts
- add awx-workflow-job-get-limit
- add awx-workflow-job-overview
- add awx-workflow-job-summary
- add awx-workflow-job-status
v0.1.8 - 2021-05-05
general refactor, add new scripts, update and fix many scripts
- remove awx-adhoc-shell-bra
- add awx-adhoc-shell-wol
- add awx-adhoc-shell-vzdump
- add awx-adhoc-shell-sssctl-domain-status
- add awx-adhoc-shell-set-hostname
- add awx-adhoc-shell-qm-start-all
- add awx-adhoc-shell-qm-start
- add awx-adhoc-shell-qm-shutdown
- add awx-adhoc-shell-qm-set-cores
- add awx-adhoc-shell-qm-reboot
- add awx-adhoc-shell-qm-no-boot
- add awx-adhoc-shell-qm-list-stopped
- add awx-adhoc-shell-qm-list-running
- add awx-adhoc-shell-qm-get-cores
- add awx-adhoc-shell-qm-destroy
- add awx-adhoc-shell-qm-clone
- add awx-adhoc-shell-ping-ip
- add awx-adhoc-shell-hostnamectl-status
- add awx-adhoc-shell-grep-log-sssd
- add awx-adhoc-shell-grep-ffox-js
- add awx-adhoc-shell-braa
- add awx-adhoc-shell
- add awx-adhoc-get-stdout
- add awx-common
- add awx-grant-inventory-use
- add awx-grant-inventory-admin
- add awx-grant-filter
- add awx-help
- add awx-host-modify-from-yaml
- add awx-host-get-variable
- add awx-host-enable
- add awx-host-disable-all
- add awx-host-disable
- add awx-host-create
- add awx-host-associate
- update awx-inventory-list
- update awx-inventory-get-variable
- update awx-inventory-get-id
- add awx-inventory-group-get-hosts
- add awx-job-template-get-last-failed-jobs
- add awx-job-template-create
- add awx-job-stdout
- add awx-job-list-running
- update awx-json-send-workflows
- update awx-json-inventory-group-get-variables
- update awx-json-inventory-group-get-hosts
- update awx-json-inventory-get-groups
- add awx-json-inventory-group-host-verify
- add awx-json-inventory-group-hosts
- add awx-json-inventory-get-subgroups
- add awx-json-role-team-list
- add awx-json-get-dependencies
- add awx-json-bump-version
- add awx-pass
- update awx-project-get-variable
- add awx-project-list-name
- add awx-project-disable-scm-clean
- add awx-role-list-job-template
- add awx-setting-list-system
- add awx-setting-get-tower-url-base
- add awx-setting-get-custom-login-info
- add awx-shell-check
- add awx-team-create
- add awx-user-modify-is-superuser
- add awx-user-list
- add awx-user-delete
- add awx-version-send
- update awx-workflow-list
- update awx-workflow-job-launch
- update awx-workflow-job-get
- add awx-workflow-job-summary
- add bump-version
- add git-help
- exclude *.pdf
- update awx-help, git-help and requirements-help
- add job2md
- add requirements-help
v0.1.7 - 2020-12-16
general refactor, add support for help
- rename ad-hoc to adhoc
- add awx-adhoc-stdout
- add awx-adhoc-shell-vzdump
- add awx-adhoc-shell-sssctl-domain-status
- add awx-adhoc-shell-set-hostname
- add awx-adhoc-shell-qm-start-all
- add awx-adhoc-shell-qm-start
- add awx-adhoc-shell-qm-shutdown
- add awx-adhoc-shell-qm-set-cores
- add awx-adhoc-shell-qm-reboot
- add awx-adhoc-shell-qm-no-boot
- add awx-adhoc-shell-qm-list-stopped
- add awx-adhoc-shell-qm-list-running
- add awx-adhoc-shell-qm-get-cores
- add awx-adhoc-shell-qm-destroy
- add awx-adhoc-shell-qm-cores
- add awx-adhoc-shell-qm-clone
- add awx-adhoc-shell-ping-ip
- add awx-adhoc-shell-hostnamectl-status
- add awx-adhoc-shell-grep-log-sssd
- add awx-adhoc-shell-grep-ffox-js
- add awx-adhoc-shell-bra
- add awx-adhoc-shell
- add awx-host-associate-host-vars using regex from host_vars
- add awx-send-json-all to ordered send *.json to AWX
- add awx-grant-workflow and refactor awx-grant-json-all
- add common functions in awx-common
- add awx-grant-json-all to grant project, job_template and workflows, reading *.json files of AWX
- add awx-config, awx-common, .awx-config-example, update README.md
- add wrapper scripts of awx-ad-hoc-shell for safe execution
- update awx-common
- add BIN variable to scriptname
- add .gitignore
- add bump-version
- add example .awx-config
- add awx-common
- update awx-config
- update git-projects-list
- update git-ls-remote-tags
- update git-ls-remote-heads
- update
- update awx-grant-workflow
- update awx-grant-project
- update awx-grant-json-all
- update awx-grant-job-template
- update awx-grant-inventory
- add awx-grant-project
- fix default team in awx-grant-job-template
- add awx-group-modify-variable
- update awx-group-get-variable
- add awx-group-get-variable
- add awx-help.md, git-help.md, requirements-help.md
- add requirements-help
- add git-help
- add awx-help
- add awx-host-modify-from-yaml
- update awx-host-modify-variable
- update awx-host-modify-ip
- update awx-host-get-variable
- update awx-host-get-recent-jobs
- update awx-host-get-ip
- update awx-host-get-by-description
- update awx-host-enable-all
- update awx-host-enable
- update awx-host-disable-all
- update awx-host-disable
- update awx-host-associate-host-vars
- update awx-host-associate
- replace exit with die in awx-host-disable-all
- add awx-inventory-modify-variable
- add awx-inventory-list
- add awx-inventory-get-id
- update awx-inventory-source-update
- update awx-inventory-source-set-project
- update awx-inventory-source-modify-variable
- update awx-inventory-source-get-variable
- update awx-inventory-source-get-project
- update awx-inventory-source-create
- update awx-inventory-set-description
- update awx-inventory-get-variable
- update awx-inventory-create
- update awx-inventory-batch-update
- add awx-grant-inventory, update awx-common
- add awx-inventory-set-description
- add awx-inventory-create
- add awx-inventory-source-set-project
- add awx-inventory-source-get-variable
- add awx-inventory-source-get-project
- add awx-common in awx-inventory-source-create
- add awx-job-template-create
- update awx-job-template-get-variable
- update awx-job-template-get-url
- update awx-job-template-get-last-job-status
- update awx-job-template-get-last-job
- update awx-job-template-get
- add awx-job-template-get-variable
- add awx-job-template-get-url
- add awx-job-template-get-last-job-status
- add awx-job-template-get-last-job
- add awx-job-template-get
- update awx-json-send-workflows
- update awx-json-get-dependencies
- rename awx-send-json-all to awx-json-send-all
- add awx-json-inventory-group-get-variables
- add awx-json-inventory-group-get-hosts
- add awx-json-inventory-get-groups
- update awx-json-worklow-get-url
- update awx-json-send-projects
- update awx-json-send-job-templates
- update awx-json-send-inventory
- update awx-json-rename
- update awx-json-receive-workflow
- update awx-json-receive-project
- update awx-json-receive-job-template
- update awx-json-receive-inventory
- update awx-json-get-unified-job-name
- update awx-json-get-project
- update awx-json-get-job-template
- update awx-json-get-ask-limit-on-launch
- update awx-json-get-ask-inventory-on-launch
- update awx-json-bump-version-unified-job-name
- update awx-json-bump-version
- add awx-json-worklow-get-url
- add awx-json-send-workflows
- add awx-json-send-projects
- add awx-json-send-job-templates
- add awx-json-send-inventory
- add awx-json-rename
- add awx-json-receive-workflow
- add awx-json-receive-project
- add awx-json-receive-job-template
- add awx-json-receive-inventory
- add awx-json-get-job-template
- add awx-json-get-dependencies
- add awx-json-get-ask-limit-on-launch
- add awx-json-get-ask-inventory-on-launch
- add awx-json-bump-version-unified-job-name
- add awx-json-bump-version
- update awx-organization-create
- update awx-pass
- update awx-project-create
- add awx-project-get-last-job
- update awx-project-update
- update awx-project-modify-scm-branch
- update awx-project-get-variable
- update awx-project-get-url
- add awx-project-get-url
- add awx-project-modify-scm-branch
- include awx, git and requirements helps
- update requirements-version-update
- update requirements-ssh2https
- add awx-setting-list-system
- add awx-setting-get-tower-url-base
- add awx-setting-get-custom-login-info
- add awx-shell-check
- update awx-team-create
- update awx-user-create
- update awx-version-tar-dependencies
- update awx-version-send
- update awx-version-list
- update awx-version-get-urls-md
- update awx-version-get-urls
- update awx-version-get-status
- update awx-version-get-files
- add awx-version-tar-dependencies
- add awx-version-send
- add awx-version-list
- add awx-version-get-urls-md
- add awx-version-get-urls
- add awx-version-get-status
- add awx-version-get-files
- add awx-workflow-list
- add awx-workflow-job-launch
- update awx-workflow-job-get
- update awx-workflow-get-variable
- update awx-workflow-get-last-job
- add awx-workflow-job-get
- add awx-workflow-get-variable
- add awx-workflow-get-last-job
v0.1.6 - 2020-09-20
requirements-ssh2https: use requirements.yml in roles or in tests/roles
- requirements-ssh2https: use requirements.yml in roles or in tests/roles
- add git-projects-list
v0.1.5 - 2020-09-20
add requirements-ssh2https
- add requirements-ssh2https replace ssh to https src in requirements.yml
- Add git-ls-remote-heads example in README.md
- add git-ls-remote-heads and set repo from .git/config
v0.1.4 - 2020-06-14
update README.md
- Add git-ls-remote-heads example in README.md
- add git-ls-remote-heads and set repo from .git/config
v0.1.3 - 2020-06-14
add git-ls-remote-heads
- add git-ls-remote-heads and set repo from .git/config
v0.1.2 - 2020-01-30
Better tags sort
- Replace numeric sort option by version sort
v0.1.1 - 2019-10-03
Add README.md and example of requirements.yml
- Add README.md and example of requirements.yml