Skip to content

Path doesn't expand parameter #32

@camlafit

Description

@camlafit

Hello

I've tried to set a file with parameter value without success.
For exemple with :

params:
  home: /var/www/discourse
  - file:
     path: $home/bin/script
     chmod: +x
     contents: |
       #!/bin/bash
       echo "I'm a script"

pups doesn't expand $home and can't create /var/www/discourse/script

My purpose was to mode all paths set in template to parameter and prevent them as hardcoded .

Any idea to workaround about this.

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