Milad / ansible-role-unarchive-gitlab-artifacts

Home Page:https://galaxy.ansible.com/milad/ansible_role_unarchive_gitlab_artifacts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-role-unarchive-gitlab-artifacts

Downloads an artifacts archive, which generated by a Gitlab job, to a temporary directory, unarchives it, moves the unarchived file to a directory and sets the appropriate group/owner/mode.

Requirements

Ansible user needs to be able to write to the /tmp directory.

Role Variables

Check the file defaults/main.yml for details.

Dependencies

None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: username.rolename, x: 42 }

License

MIT

Author Information

Milad Kawas. @miladkawas