No description
Find a file
2024-07-12 13:07:34 +00:00
defaults Initial import 2024-07-12 14:37:34 +02:00
handlers Initial import 2024-07-12 14:37:34 +02:00
meta Initial import 2024-07-12 14:37:34 +02:00
tasks Initial import 2024-07-12 14:37:34 +02:00
vars Initial import 2024-07-12 14:37:34 +02:00
README.md Update README.md 2024-07-12 13:07:34 +00:00
role.yml Initial import 2024-07-12 14:37:34 +02:00
TODO.md Initial import 2024-07-12 14:37:34 +02:00

Ansible Role: myrepos

Requirements

None

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

myrepo_base: ~/src

Define the base directory to create personal repositories

myrepo_user: root

Define the owner of the repositories

myrepo_catalogs: []
# - src:
#   dest: 
# - src:
#   dest:

Define a list of repositories. Each repository should be specified as an item with "src" and "dest" keys, representing the source and destination paths, respectively.

Dependencies

None.

Example Playbook

- hosts: localhost
  vars_files:
    - vars/main.yml
  roles:
    - { role: glenux.myrepos }

Inside vars/main.yml:

myrepo_catalogs:
  - src: bar
    dest: /foo/bar
  - src: foo
    dest: /foo/foo

License

GPLv2

Author Information

glenux