Commit 7567fcab authored by Maciej Delmanowski's avatar Maciej Delmanowski

Fix ansible-lint error E401 in DebOps roles

parent 06773598
......@@ -42,6 +42,7 @@
git:
repo: '{{ debops__project_git_repo }}'
dest: '{{ debops__project_name if debops__project_name else debops__project_git_repo | basename }}'
version: 'master'
update: True
when: debops__project_git_repo != ''
......
......@@ -61,6 +61,7 @@
repo: '{{ debops_api__input_data_repo_url }}'
dest: '{{ debops_api__input_data_repo_dest }}'
update: '{{ debops_api__input_data_repo_update | bool }}'
version: 'master'
recursive: True
become: True
become_user: '{{ debops_api__user }}'
......@@ -81,6 +82,7 @@
git:
repo: '{{ debops_api__app_repo_url }}'
dest: '{{ debops_api__app_repo_dest }}'
version: 'master'
update: True
# verify_commit:
# version:
......
......@@ -43,6 +43,7 @@
git:
repo: '{{ dokuwiki__git_repo }}'
dest: '{{ dokuwiki__git_dest }}'
version: 'master'
bare: True
update: True
become: True
......
......@@ -32,6 +32,7 @@
git:
repo: '{{ gitlab__gitaly_repo }}'
dest: '{{ gitlab__gitaly_dest }}'
version: 'master'
bare: True
update: True
become: True
......
......@@ -34,6 +34,7 @@
git:
repo: '{{ gitlab_pages_repo }}'
dest: '{{ gitlab_pages_dest }}'
version: 'master'
bare: True
update: True
become: True
......
......@@ -42,6 +42,7 @@
git:
repo: '{{ gitlab_shell_git_repo }}'
dest: '{{ gitlab_shell_git_dest }}'
version: 'master'
bare: True
update: True
become: True
......
......@@ -32,6 +32,7 @@
git:
repo: '{{ gitlab_workhorse_repo }}'
dest: '{{ gitlab_workhorse_dest }}'
version: 'master'
bare: True
update: True
become: True
......
......@@ -14,6 +14,7 @@
git:
repo: '{{ gitlab_ce_git_repo }}'
dest: '{{ gitlab_ce_git_dest }}'
version: 'master'
bare: True
update: True
become: True
......
......@@ -34,6 +34,7 @@
git:
repo: '{{ phpipam_git_repo }}'
dest: '{{ phpipam_git_dest }}'
version: 'master'
bare: True
update: True
become: True
......
......@@ -61,6 +61,7 @@
git:
repo: '{{ roundcube__git_repo }}'
dest: '{{ roundcube__git_dest }}'
version: 'master'
bare: True
update: True
become: True
......
......@@ -6,6 +6,7 @@
git:
repo: '{{ item.dotfiles_repo | d(users__dotfiles_combined_map[item.dotfiles_name | d(users__dotfiles_name)].repo) }}'
dest: '{{ item.dotfiles_dest | d(users__dotfiles_dest) }}'
version: '{{ item.dotfiles_version | d("master") }}'
update: '{{ (item.dotfiles_update | d(users__dotfiles_combined_map[item.dotfiles_name | d(users__dotfiles_name)].update | d(users__dotfiles_update))) | bool }}'
with_flattened:
- '{{ users__root_accounts }}'
......
......@@ -287,6 +287,11 @@ a specific account.
instead, by default cloning the :command:`git` repository to :file:`~/.config/dotfiles/`
directory.
``dotfiles_version``
Optional. Specify a :command:`git` branch or tag of the user configuration
files which should be downloaded and checked out. If not specified, role will
automatically check out the ``master`` branch.
``dotfiles_update``
Optional, boolean. Specify if the user configuration files repository should
be updated on each Ansible run. If not set, the default from
......
Markdown is supported
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