redundant when apt
removed
This commit is contained in:
parent
1d45984470
commit
60d1b51f41
1 changed files with 0 additions and 6 deletions
|
@ -25,11 +25,9 @@
|
|||
- gnutls-bin
|
||||
- python-openssl
|
||||
- name: create git-group
|
||||
when: '"apt" == ansible_pkg_mgr|lower'
|
||||
group:
|
||||
name: git
|
||||
- name: create git-user
|
||||
when: '"apt" == ansible_pkg_mgr|lower'
|
||||
user:
|
||||
name: git
|
||||
comment: git & gitea
|
||||
|
@ -40,7 +38,6 @@
|
|||
move_home: no
|
||||
skeleton: no
|
||||
- name: create gitea-dirs
|
||||
when: '"apt" == ansible_pkg_mgr|lower'
|
||||
file:
|
||||
dest: '{{item}}'
|
||||
state: directory
|
||||
|
@ -54,7 +51,6 @@
|
|||
- /srv/gitea/custom
|
||||
- /etc/gitea
|
||||
- name: create links
|
||||
when: '"apt" == ansible_pkg_mgr|lower'
|
||||
file:
|
||||
dest: '{{item.key}}'
|
||||
src: '{{item.value}}'
|
||||
|
@ -65,13 +61,11 @@
|
|||
/srv/gitea/custom/conf: /etc/gitea
|
||||
|
||||
- name: "download gitea-{{ gitea_version }}-{{ ansible_architecture }}"
|
||||
when: '"apt" == ansible_pkg_mgr|lower'
|
||||
get_url:
|
||||
url: "{{ gitea_download_uri }}"
|
||||
dest: "/srv/gitea/gitea-{{ gitea_version }}-{{ ansible_architecture }}"
|
||||
mode: 0600
|
||||
- name: "link gitea to gitea-{{ gitea_version }}-{{ ansible_architecture }}"
|
||||
when: '"apt" == ansible_pkg_mgr|lower'
|
||||
copy:
|
||||
src: "/srv/gitea/gitea-{{ gitea_version }}-{{ ansible_architecture }}"
|
||||
dest: /srv/gitea/gitea
|
||||
|
|
Loading…
Reference in a new issue