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

remove-unwanted fails before configuration.yml creates sites-enabled #104

Closed
ei-grad opened this issue Mar 23, 2016 · 2 comments
Closed

Comments

@ei-grad
Copy link
Contributor

ei-grad commented Mar 23, 2016

Trying to install with nginx_official_repo: True, but "Remove the default configuration" fails because /etc/nginx/sites-enabled doesn't exist yet:

{"failed": true, "msg": "The conditional check ''default' not in nginx_configs.keys()
' failed. The error was: error while evaluating conditional ('default' not in nginx_configs.keys()
): 'dict object' has no attribute 'ansible_eth0'

The error appears to have been in '/home/ei-grad/repos/deal/devops/roles/nginx/tasks/remove-defaults.yml': line 8, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: Remove the default configuration
  ^ here
"}
@ei-grad
Copy link
Contributor Author

ei-grad commented Mar 23, 2016

Hm... no, problem in in something different... sorry.

@ei-grad ei-grad closed this as completed Mar 23, 2016
@ei-grad
Copy link
Contributor Author

ei-grad commented Mar 23, 2016

Ansible just really missed ansible_eth0 from facts of that host :-o
Fixed by cache reset.

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