We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! Thanks for role consul.
Get error
TASK [ansible-consul : Check if unzip is installed on control host] ********************************************************************************************** Monday 09 May 2022 08:58:20 +0600 (0:00:00.071) 0:00:35.809 ************ fatal: [consul0 -> 127.0.0.1]: FAILED! => changed=false cmd: command -v unzip -h >/dev/null 2>&1 delta: '0:00:00.035367' end: '2022-05-09 08:58:20.590777' msg: non-zero return code rc: 127 start: '2022-05-09 08:58:20.555410' stderr: '' stderr_lines: <omitted> stdout: '' stdout_lines: <omitted> ...ignoring TASK [ansible-consul : Unarchive Consul package] ***************************************************************************************************************** Monday 09 May 2022 08:59:13 +0600 (0:00:00.227) 0:01:29.008 ************ fatal: [consul0 -> 127.0.0.1]: FAILED! => changed=false msg: Failed to find handler for "/home/user/.ansible/tmp/ansible-tmp-1652065153.5919049-17618-176719116815983/source". Make sure the required command to extract the file is installed. Command "/usr/bin/tar" could not handle archive. Unable to find required 'unzip' or 'zipinfo' binary in the path.
Playbook
--- - hosts: consul_instances become: true pre_tasks: - name: Update apt cache. apt: update_cache=true cache_valid_time=600 when: ansible_os_family == 'Debian' roles: - role: ansible-consul
Inventory
all: children: consul_instances: hosts: consul0: ansible_host: xxx consul1: ansible_host: xxx consul2: ansible_host: xxx
cat /etc/os-release
NAME="Ubuntu" VERSION="20.04 LTS (Focal Fossa)"
ansible --version
ansible [core 2.12.4] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible ansible collection location = /home/user/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0] jinja version = 3.1.2 libyaml = True
The text was updated successfully, but these errors were encountered:
FIxed by install unzip on Control node OS.
Sorry, something went wrong.
Should the playbook abort the installation in the task "Check if unzip is installed on the management host"?
No branches or pull requests
Hello! Thanks for role consul.
Get error
Playbook
Inventory
Environment
cat /etc/os-release
)ansible --version
)cat /etc/os-release
)The text was updated successfully, but these errors were encountered: