fix lint errors

bug-260-pipeline-fails-onlyoffice-lint
thiuda 2022-03-24 21:21:07 +01:00
parent a82a70ce53
commit 016c68d76f
1 changed files with 15 additions and 15 deletions

View File

@ -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