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

Implement automatic zones #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Implement automatic zones #46

wants to merge 1 commit into from

Conversation

rubdos
Copy link
Contributor

@rubdos rubdos commented Mar 30, 2017

Adds a role that puts all hosts in zones, depending on ansible variables. #45 more or less depends on this, as icinga likes its hosts in zones before doing satellite configuration.

@aflatto
Copy link
Contributor

aflatto commented Apr 23, 2017

Thank you for your contribution.

How can one disable the use of the zones if building a single instance or in a single location ?

@rubdos
Copy link
Contributor Author

rubdos commented Jul 25, 2017

How can one disable the use of the zones if building a single instance or in a single location ?

You just don't use the role :-)

@aflatto
Copy link
Contributor

aflatto commented Feb 28, 2018

When testing the code , it fails as there are not distinctive FQDN in the hosts configuration.
If this is a variable that needs defining, please provide a README to define where those needs to be defined.

fatal: [FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'ansible_fqdn'\n\nThe error appears to have been in '/home/assaf/WorkSpace/icinga/icinga2-ansible/icinga2-ansible-add-zones/tasks/icinga2_add_zones.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Copy Endpoint Zone Definitions\n ^ here\n\nexception type: <class 'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'dict object' has no attribute 'ansible_fqdn'"}

@rubdos
Copy link
Contributor Author

rubdos commented Mar 1, 2018

Is it okay for you that I come back to this code when I start using it again? The original project that made used of this module is more or less suspended, but I have other customers with whom I'd used it in the near future.

@aflatto
Copy link
Contributor

aflatto commented Mar 1, 2018

Hi @rubdos
Of course.

Thank you

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

Successfully merging this pull request may close these issues.

2 participants