Skip to content
Snippets Groups Projects
Commit f454ed4f authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent 48756453
No related branches found
No related tags found
No related merge requests found
---
gitlab_client: {}
......@@ -13,29 +13,27 @@
- block:
- name: Install Python Library
pip:
name: python-gitlab
state: present
- name: Copy Scripts
copy:
src: '{{ item }}'
dest: /usr/local/bin/{{ item }}
mode: 0775
with_items:
- gitlab-issue.py
- gitlab-merge-request.py
- name: Configure GitLab Client
template:
src: gitlab.cfg
dest: ~/.gitlab.cfg
mode: 0600
become_user: '{{ item }}'
with_items: '{{ admins }}'
when: gitlab_client[item] is defined
- name: Install Python Library
pip:
name: python-gitlab
state: present
- name: Copy Scripts
copy:
src: '{{ item }}'
dest: /usr/local/bin/{{ item }}
mode: 0775
with_items:
- gitlab-issue.py
- gitlab-merge-request.py
- name: Configure GitLab Client
template:
src: gitlab.cfg
dest: ~/.gitlab.cfg
mode: 0600
become_user: '{{ item }}'
with_items: '{{ admins }}'
when: gitlab_client[item] is defined
when: not excluded_roles or "gitlab-client" not in excluded_roles
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment