apt: fail for buster 'ansible_lsb' is undefined #62

Closed
opened 2019-07-02 17:09:28 +02:00 by benpro · 2 comments
Contributor
TASK [apt : Change basics repositories] ****************************************                                                         
task path: /localhome/bserie/GIT/ansible-roles/apt/tasks/basics.yml:3                                                                    
fatal: [hosting08]: FAILED! => {                                                                                                         
    "failed": true,                                                                                                                      
    "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'ansible_lsb' is undefined\n\nThe error appears to have been in '/localhome/bserie/GIT/ansible-roles/apt/tasks/basics.yml': line 3, 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: Change basics repositories\n  ^ here\n"
} 
``` TASK [apt : Change basics repositories] **************************************** task path: /localhome/bserie/GIT/ansible-roles/apt/tasks/basics.yml:3 fatal: [hosting08]: FAILED! => { "failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'ansible_lsb' is undefined\n\nThe error appears to have been in '/localhome/bserie/GIT/ansible-roles/apt/tasks/basics.yml': line 3, 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: Change basics repositories\n ^ here\n" } ```
benpro added this to the Debian 11 (Buster) milestone 2019-07-02 17:09:28 +02:00
benpro added the
bug
label 2019-07-02 17:09:28 +02:00
Author
Contributor

This is due to missing lsb package I guess. As it is deprecated we need to modify ansible_lsb.codename by ansible_distribution_release.

This is due to missing lsb package I guess. As it is deprecated we need to modify `ansible_lsb.codename` by `ansible_distribution_release`.
benpro changed title from apt: fail for buster to apt: fail for buster 'ansible_lsb' is undefined 2019-07-02 17:19:13 +02:00
Author
Contributor

Closed by 771c75c1de

Closed by 771c75c1de
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/ansible-roles#62
No description provided.