Skip to content

Directory creation order issue in ready-linux playbook #27

@eebi-sotec

Description

@eebi-sotec

When executing the all-full-install playbook, I received the error: "Dest dir /var/abm-install/scripts/ does not exist."
This seems due to the order of tasks in roles/ready-linux/tasks/setup-cron-jobs.yml.
The task "Script for gcloud cron update" attempts to copy gcloud-update-script.sh to {{ abm_install_folder }}/scripts/gcloud-update-script.sh before the task "Create Folder to hold scripts" in roles/ready-linux/tasks/main.yml has created the necessary directory.

Fixing the order of these tasks resolves the error.
Additionally, in the same task, the owner/group {{ ansible_user }} (i.e., abm-admin) appears to have insufficient rights or does not exist, switching it to root resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions