Skip to content

Commit 9cd81da

Browse files
authored
Update pre-common.yml (#29)
1 parent 3b3865a commit 9cd81da

1 file changed

Lines changed: 1 addition & 33 deletions

File tree

ansible_yaml/common/pre-common.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,6 @@
22
set_fact:
33
ansible_python_interpreter: /usr/bin/python3
44

5-
- name: Update apt repo and cache on all Debian/Ubuntu boxes
6-
apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
7-
become: true
8-
9-
- name: Upgrade all apt packages
10-
apt: upgrade=yes force_apt_get=yes
11-
become: true
12-
13-
- name: Install Python pip
14-
apt: name={{ item }} update_cache=true state=present force_apt_get=yes
15-
with_items:
16-
- python3-pip
17-
become: true
18-
19-
- name: Install Python packages using apt
20-
apt:
21-
name:
22-
- python3-docker
23-
- python3-boto3
24-
- python3-botocore
25-
- python3-venv
26-
- gcc
27-
- libaugeas0
28-
- libssl-dev
29-
- libffi-dev
30-
- ca-certificates
31-
- openssl
32-
- git
33-
state: present
34-
update_cache: yes
35-
become: true
36-
375
- name: Load Traefik source config
386
set_fact:
397
traefik_source_config: "{{ lookup('file', playbook_dir + '/extra/{{ project_name }}.yml') | from_yaml }}"
@@ -57,4 +25,4 @@
5725
path: "{{ docker_compose_dir }}/data"
5826
state: directory
5927
mode: '0755'
60-
become: true
28+
become: true

0 commit comments

Comments
 (0)