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

fix: changed set_fact to uri call #169

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

Conversation

HerbBoy
Copy link

@HerbBoy HerbBoy commented Mar 29, 2023

Notes:
The set_fact was causing the following error:

objc[18913]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.

this change corrects this whilst keeping the desired functionality.

Notes: 
   The set_fact was causing the following error:
```
objc[18913]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
```
this change corrects this whilst keeping the desired functionality.
@patrickjahns
Copy link
Owner

@HerbBoy

Unfortunately your change breaks compatibility with ansible 2.10 and 3.4 :

TASK [ansible-role-promtail : Get checksum for amd64 architecture] *************
fatal: [instance]: FAILED! => {"msg": "template error while templating string: No filter named 'split'.. String: {{ __promtail_checksums.content | split('\n') }}"}

Please see the failing tests

@HerbBoy
Copy link
Author

HerbBoy commented Apr 5, 2023

@HerbBoy

Unfortunately your change breaks compatibility with ansible 2.10 and 3.4 :

TASK [ansible-role-promtail : Get checksum for amd64 architecture] *************
fatal: [instance]: FAILED! => {"msg": "template error while templating string: No filter named 'split'.. String: {{ __promtail_checksums.content | split('\n') }}"}

Please see the failing tests

Will look into alternatives. I am running the latest ver so forgot to check on whether it was compatible.

@patrickjahns patrickjahns force-pushed the master branch 6 times, most recently from 2f95887 to c5705d1 Compare May 12, 2023 21:17
@dearlordylord
Copy link

how do we circumvent this error meanwhile?

@patrickjahns
Copy link
Owner

@Firfi

Please see upstream issue ansible/ansible#76322 regarding this. The role works as designed

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.

3 participants