Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

ERROR! Module "vars" shadows the name of a reserved keyword. Please rename or remove this module. #1535

Closed
d1mirl1n opened this issue Mar 22, 2019 · 16 comments

Comments

@d1mirl1n
Copy link

Hello, is not established, checked on several machines the same error, also tried to roll back on ansible-2.6.0

[DEPRECATION WARNING]: 'include' for playbook includes. You should use
'import_playbook' instead. This feature will be removed in version 2.8.
Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
ERROR! Module "vars" shadows the name of a reserved keyword. Please rename or remove this module. Found at /root/streisand/global_vars/vars.yml

@tkmw1985
Copy link

Confirm, Same issue !!!

@tkmw1985
Copy link

any solutions ?

@Pahom-ka
Copy link

Confirm, don't have any idea.

@d1mirl1n
Copy link
Author

a week ago I checked everything worked

@Pahom-ka
Copy link

image
I got this error

@dilandyechiel
Copy link

I confirm the same error

@vandorb12
Copy link

Just to ask, are any of you trying to install this on a localhost, or are you attempting to build on a VPS?
Have you tried looking at the advanced installation instructions? https://github.com/StreisandEffect/streisand/blob/master/Advanced%20installation.md

@WHTLY
Copy link

WHTLY commented Mar 23, 2019

Fixed by renaming at ./global_vars/ vars.yml file to varss.yml
Then grep -rni vars.yml and change link to varss.yml everywhere.

@Pahom-ka
Copy link

Fixed by renaming at ./global_vars/ vars.yml file to varss.yml
Then grep -rni vars.yml and change link to varss.yml everywhere.

Нет, получилось по расширенной инструкции.

@Pahom-ka
Copy link

Just to ask, are any of you trying to install this on a localhost, or are you attempting to build on a VPS?
Have you tried looking at the advanced installation instructions? https://github.com/StreisandEffect/streisand/blob/master/Advanced%20installation.md

Thank you, i found solution on this page

@Pahom-ka
Copy link

Hello, is not established, checked on several machines the same error, also tried to roll back on ansible-2.6.0

[DEPRECATION WARNING]: 'include' for playbook includes. You should use
'import_playbook' instead. This feature will be removed in version 2.8.
Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
ERROR! Module "vars" shadows the name of a reserved keyword. Please rename or remove this module. Found at /root/streisand/global_vars/vars.yml

Use this command:
deploy/streisand-local.sh \ --site-config global_vars/noninteractive/local-site.yml

@WHTLY
Copy link

WHTLY commented Mar 23, 2019

Fixed by renaming at ./global_vars/ vars.yml file to varss.yml
Then grep -rni vars.yml and change link to varss.yml everywhere.

Нет, получилось по расширенной инструкции.

Да вот, у коллеги не вышло. Потому и полез так "чинить". Может кому-то еще поможет.

@Pahom-ka
Copy link

Pahom-ka commented Mar 23, 2019

In local-site.yml need add this strings:

streisand_client_test: no
upstream_dns_servers:
  - 1.0.0.1
  - 1.1.1.1

#or your favorite DNS servers

@tkmw1985
Copy link

Hello, is not established, checked on several machines the same error, also tried to roll back on ansible-2.6.0
[DEPRECATION WARNING]: 'include' for playbook includes. You should use
'import_playbook' instead. This feature will be removed in version 2.8.
Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
ERROR! Module "vars" shadows the name of a reserved keyword. Please rename or remove this module. Found at /root/streisand/global_vars/vars.yml

Use this command:
deploy/streisand-local.sh \ --site-config global_vars/noninteractive/local-site.yml

confirming advanced installation works fine !!!

@gdub010101
Copy link

This appears to be some sort of weird side effect of this commit:

5e30c8a#diff-f79cbdab862069e44bafb519a1026967

You can resolve it by commenting out this line in streisand/streisand

export ANSIBLE_LIBRARY=

so it's

#export ANSIBLE_LIBRARY=

@nopdotcom
Copy link
Member

This is my bug. I'll revert that line for now.

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

No branches or pull requests

8 participants