Skip to content

Issues with debops --skip-tags #444

@evilham

Description

@evilham

Hello there,

I've noticed today that if I run debops --limit host, everything runs fine.

However, if I run debops --limit host --skip-tags role::ferm, it fails in role::kmod (output below).

Furthermore, if I run debops --limit host --skip-tags role::ferm,role::kmod, it fails in role::tinc (output below)

It happens to me with ansible version: 2.6.3 under python 2.7.13.

Can anyone reproduce this?

This worked before and I don't see any recent changes that would have changed that.

--skip-tags role::ferm output

TASK [debops.kmod : Check if modprobe is available] ***********************************************
ok: [host]

TASK [debops.kmod : Install required packages] ****************************************************
ok: [host] => (item=python-kmodpy)

TASK [debops.kmod : Make sure that Ansible local facts directory exists] **************************
ok: [host]

TASK [debops.kmod : Save kmod local facts] ********************************************************
ok: [host]

TASK [debops.kmod : Update Ansible facts if they were modified] ***********************************

TASK [debops.kmod : Configure kernel modules] *****************************************************
included: /path_to_debops/debops/ansible/roles/debops.kmod/tasks/modprobe.yml for host

TASK [debops.kmod : Remove module configuration] **************************************************

TASK [debops.kmod : Generate module configuration] ************************************************
ok: [host]

TASK [debops.kmod : Unload kernel module if configuration changed] ********************************

TASK [debops.kmod : Load kernel module if configuration changed] **********************************

TASK [debops.kmod : Update Ansible facts if the list of loaded kernel modules might have changed] *

TASK [debops.kmod : Remove module load configuration] *********************************************
fatal: [host]: FAILED! => {"msg": "'ifupdown__env_kmod__dependent_load' is undefined"}

--skip-tags role::ferm,role::kmod output

PLAY [Configure Tinc VPN] *************************************************************************

TASK [Gathering Facts] ****************************************************************************
ok: [host]

TASK [debops.secret : Create secret directories on Ansible Controller] ****************************
fatal: [host]: FAILED! => {"msg": "'tinc__env_secret__directories' is undefined"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions