Comments (4)
found the solution on MacOS... it is a old new problem.
$ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
from ansible-alertmanager.
__NSCFConstantString initialize
Suggests common ansible problem on MacOS. More in cloudalchemy/ansible-prometheus#230 (comment)
Closing this as it is not an issue with role, but with ansible module.
from ansible-alertmanager.
Would you consider to replace it with other more straight forward module?
https://docs.ansible.com/ansible/latest/modules/get_url_module.html
- name: Download file with checksum url (sha256)
get_url:
url: http://example.com/path/file.conf
dest: /etc/foo.conf
checksum: sha256:http://example.com/path/sha256sum.txt
from ansible-alertmanager.
This is not converting one execution to another, but converting one task into 2 or 3 and arranging them in a block, how is that more straight forward?
To get a checksum we need to do the following:
- download a file
- parse content based on system architecture
- assign parsed data to a variable
IMHO changing set_fact
+ lookup
into a get_url
doesn't provide a cleaner solution. Changing it would mean we need to add get_url
to download a file and save it somewhere (which already is problematic if we want to have a multi-platform role), next add another task to slurp
the content, parse it, and assign it to a variable.
from ansible-alertmanager.
Related Issues (20)
- Can't use custom templates for receivers HOT 3
- Config validation not done on templates HOT 2
- Support for webhook_config HOT 2
- var name docu mismatch alertmanager_binaries_local_dir HOT 1
- offline mode fails HOT 2
- Add on README.md example playbook that alertmanager_route and alertmanager_receivers is needed HOT 6
- slack template issue
- Tasks "download alertmanager binary to local folder" and "unpack alertmanager binaries" always changed HOT 1
- mute_time_interval support HOT 1
- alertmanager_checksum_url Gives error after commit from 7 day ago HOT 3
- Permissions of alertmanager config file HOT 1
- Request for more TAGS HOT 1
- log.level=debug HOT 1
- Unable to get the checksum due to errors in the Ansible HOT 2
- too many open files error HOT 3
- Deprecation warning about `include` HOT 1
- Download URL HOT 1
- Configure for Telegram HOT 4
- Error while getting checksum list for version `latest` HOT 1
- alertmanager_template_files variable config is incorrect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-alertmanager.