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

Indentation issue in create_ti.yml #3

Open
pjakovits opened this issue May 13, 2020 · 0 comments
Open

Indentation issue in create_ti.yml #3

pjakovits opened this issue May 13, 2020 · 0 comments

Comments

@pjakovits
Copy link

I got Ansible errors when trying to deploy the sockshop example Testing Infrastructure.

It seems the issue is related to the indentation of Ansible parameters inside the create_ti.yml file. The
when: ansible_distribution == "Ubuntu"
and
when: ansible_distribution == "Arch Linux"
statements should be aligned to the same level as package: like this:

    - name: install pip module prerequisites
      package:
        name: 
          - python3-pip
          - python3-virtualenv
          - python3-setuptools
        state: present
      when: ansible_distribution == "Ubuntu"

Otherwise it results in an error that package module has not-allowed parameters. This behaviour may be different based on the used Ansible version.

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

1 participant