Skip to content

Conversation

butler54
Copy link
Collaborator

@butler54 butler54 commented Sep 1, 2025

No description provided.

@butler54 butler54 requested a review from sabre1041 September 1, 2025 06:57
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
@sabre1041
Copy link
Collaborator

@butler54 Seeing the imperative-cronjob failing with the following in the init-data-gzipper container

TASK [Calculate days until expiry] *********************************************
task path: /git/repo/ansible/gen-certificate.yaml:57
fatal: [localhost]: FAILED! => {
"msg": "The task includes an option with an undefined variable. The error was: 'ansible_date_time' is undefined. 'ansible_date_time' is undefined\n\nThe error appears to be in '/git/repo/ansible/gen-certificate.yaml': line 57, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Calculate days until expiry\n ^ here\n"
}

@butler54
Copy link
Collaborator Author

butler54 commented Sep 8, 2025

@butler54 Seeing the imperative-cronjob failing with the following in the init-data-gzipper container


TASK [Calculate days until expiry] *********************************************

task path: /git/repo/ansible/gen-certificate.yaml:57

fatal: [localhost]: FAILED! => {

"msg": "The task includes an option with an undefined variable. The error was: 'ansible_date_time' is undefined. 'ansible_date_time' is undefined\n\nThe error appears to be in '/git/repo/ansible/gen-certificate.yaml': line 57, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Calculate days until expiry\n ^ here\n"

}

Strange, I'll have another look. I know there were recent updates in the container so maybe something regressed.

Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
@butler54
Copy link
Collaborator Author

@butler54 Seeing the imperative-cronjob failing with the following in the init-data-gzipper container


TASK [Calculate days until expiry] *********************************************

task path: /git/repo/ansible/gen-certificate.yaml:57

fatal: [localhost]: FAILED! => {

"msg": "The task includes an option with an undefined variable. The error was: 'ansible_date_time' is undefined. 'ansible_date_time' is undefined\n\nThe error appears to be in '/git/repo/ansible/gen-certificate.yaml': line 57, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Calculate days until expiry\n ^ here\n"

}

Strange, I'll have another look. I know there were recent updates in the container so maybe something regressed.

It should be good now. Let me know how you go.

Copy link
Collaborator

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sabre1041 sabre1041 merged commit 1b99369 into validatedpatterns:main Sep 17, 2025
4 checks passed
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