Commit 830c2bc9 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

add repeatable

parent ff370d53
......@@ -8,6 +8,8 @@ Is used for setting up access by deploy keys for servers using git repos, and to
* (Optional) Adds a private key for user.
* Adds known hosts (uib git server) to known hosts.
Role is repeatable to add multiple system users.
Requirements
------------
......@@ -33,10 +35,10 @@ Example Playbook
roles:
- { role: worker, worker_name: "protege", worker_keyfile: private_key, worker_git_email: "ubbdst@gmail.com"
}
- { role: worker, worker_name: "cron_worker" ...}
- task:
crontab:
user: "{{worker_name}}"
user: "cron_worker"
...
```
License
......
......@@ -17,7 +17,7 @@ galaxy_info:
license: BSD
min_ansible_version: 1.2
allow_duplicates: true
# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment