Closed toresbe closed 5 years ago
I'd submit a pull request to fix this myself but I'm too unfamiliar with ansible as of now to have any confidence that I'm using the right approach to address this.
eg. icinga2-ansible/icinga2-ansible-add-hosts/tasks/main.yml:
- name: create Autogenerated host directory file: path: "{{ icinga2_hosts_dir }}" owner: **icinga** group: **icinga**
For me it was no big deal to just hardcode the other user/group, but it would be nice if this worked right out of the box.
I'd submit a pull request to fix this myself but I'm too unfamiliar with ansible as of now to have any confidence that I'm using the right approach to address this.
eg. icinga2-ansible/icinga2-ansible-add-hosts/tasks/main.yml:
For me it was no big deal to just hardcode the other user/group, but it would be nice if this worked right out of the box.