Skip to content
New issue

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

Clean Install Unexpected Parameter #7

Open
fredericommartins opened this issue Nov 16, 2022 · 2 comments
Open

Clean Install Unexpected Parameter #7

fredericommartins opened this issue Nov 16, 2022 · 2 comments

Comments

@fredericommartins
Copy link

Describe the bug
The playbook fails with "ERROR! unexpected parameter type in action: <class 'bool'>" when including the roles from miracle-ansible-role-awxrpm-scl-installer. This happens always, with a clean OS install and following the documentation on https://awx.wiki/installation, currently tested with Rocky Linux 9 and Fedora 36 with Ansible versions 2.12.2 and 2.12.10, respectively.

To Reproduce

  1. git clone https://github.com/miracle-as/awx-turnkey.git
  2. cd awx-turnkey
  3. echo '[awxserver]
    localhost' > inventory
  4. ansible-galaxy -fr roles/requirements.yml
  5. ansible-playbook -i inventory awxrpm.yml

Proceeds to fail with error:

[root@awx awx-turnkey]# ansible-playbook -i inventory.yml awxrpm.yml
ERROR! unexpected parameter type in action: <class 'bool'>

The error appears to be in '/root/.ansible/roles/miracle-ansible-role-awxrpm-scl-installer/tasks/install-awx-venv-single.yml': line 5, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: "Define role discovered variables, usable throughout the playbook"
^ here
[root@awx awx-turnkey]#

Expected behavior
Install Ansible automation

Desktop (please complete the following information):

  • OS: Rocky Linux 9 or Fedora 36
@rubennuness
Copy link

Is there any news on this issue?

@JakobHolstDK
Copy link
Contributor

The turnkey has changed and the aim is now to install an awx in an venv environment with s singke command. Try it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants