Browse Source

fix lint errors

bug-260-pipeline-fails-onlyoffice-lint
thiuda 10 months ago
parent
commit
016c68d76f
  1. 30
      tasks/main.yml

30
tasks/main.yml

@ -1,6 +1,6 @@
- name: Ensure packages are installed
become: yes
apt:
become: true
ansible.builtin.apt:
name:
- python3-pip
- apt-transport-https
@ -11,42 +11,42 @@
state: present
- name: Trust dockers GPG key
become: yes
apt_key:
become: true
ansible.builtin.apt_key:
url: https://download.docker.com/linux/debian/gpg
state: present
- name: Ensure docker repository is available
become: yes
apt_repository:
become: true
ansible.builtin.apt_repository:
repo: deb https://download.docker.com/linux/debian buster stable
state: present
# notify: Update apt cache
#- name: Flush handlers
# meta: flush_handlers
# - name: Flush handlers
# meta: flush_handlers
- name: Ensure packages are installed
become: yes
apt:
become: true
ansible.builtin.apt:
name:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-compose
update_cache: yes
update_cache: true
state: present
- name: Install docker python module
become: yes
pip:
become: true
ansible.builtin.pip:
executable: pip3
name:
- docker
- name: Change docker root
become: yes
template:
become: true
ansible.builtin.template:
src: templates/daemon.json.j2
dest: /etc/docker/daemon.json
mode: 0644

Loading…
Cancel
Save