Introduced a `--ask-pass` argument to prompt for the SSH password, using the same password as the become password when provided. This allows secure SSH connections without pre-stored credentials, enhancing security and flexibility in multi-user environments.
Added missing 'hosts' key under 'opnsense' in inventory.yml to ensure proper ansible group structure. This resolves potential issues with playbook execution that may have occurred due to the previous misconfiguration.
Moved 'burns' from 'debian' to 'opnsense' and adjusted formatting for better organization and readability. This change helps maintain the logical structure of the inventory file, ensuring that hosts are grouped correctly according to their system type.
Switches to using JSON encoding for handling the become password as an extra variable in subprocess calls. This ensures safer and more reliable handling of special characters within passwords, reducing the risk of shell injection vulnerabilities.
Changed file mode from 644 to 755 to enable execution permissions. This update allows the script to be run directly from the command line, improving ease of use and workflow efficiency. No changes to the file's content have been made.
- Added a new Python script to dynamically handle Ansible playbook executions with password prompts.
- Enhanced `inventory.yml` by defining explicit `ansible_name` and `ansible_host` for each host to improve manageability.
- Introduced `.gitignore` to omit `venv/` and `.vscode/` directories from version control, ensuring a cleaner repository.
- Updated `apt.yml` playbook to unify update and upgrade tasks, using `ansible.builtin.apt`.
- Created `requirements.txt` to manage Python dependencies, including `ansible`, `ansible-lint`, and `pyyaml`.
These changes streamline the management of Ansible hosts and execution of playbooks, aligning with best practices for ongoing development.
Changed the inventory file format by appending colons to host names, ensuring valid YAML syntax for host definitions. This update prevents potential parsing issues and enhances clarity and maintainability.
The host 'edna' has been added to the servers list in the inventory file to reflect its availability for resource allocation and management. This ensures that any configurations or updates are applied consistently across all designated servers.
Introduced an inventory file listing Debian hosts for configuration management. Added a playbook to automate updating and upgrading packages on these hosts using APT. This enhances manageability and ensures consistency across Debian systems.